Skip to content

Instantly share code, notes, and snippets.

@evanp
Created March 8, 2013 14:54
Show Gist options
  • Save evanp/5116964 to your computer and use it in GitHub Desktop.
Save evanp/5116964 to your computer and use it in GitHub Desktop.
actual, expected output
// 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