Created
March 8, 2013 14:54
-
-
Save evanp/5116964 to your computer and use it in GitHub Desktop.
actual, expected output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Test actual, expected | |
var vows = require("vows"), | |
assert = require("assert"); | |
var suite = vows.describe("are actual and expected reversed?"); | |
suite.addBatch({ | |
"when we assert equality": { | |
topic: "actual", | |
"it works": function(actual) { | |
var expected = "expected"; | |
assert.equal(actual, expected); | |
} | |
} | |
}); | |
suite["export"](module); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment