Skip to content

Instantly share code, notes, and snippets.

@motin
Created October 29, 2012 12:33
Show Gist options
  • Save motin/3973272 to your computer and use it in GitHub Desktop.
Save motin/3973272 to your computer and use it in GitHub Desktop.
Node assert - [0,0,0] should be considered equal to [0,0,0]
describe('foo', function(){
describe('#bar()', function(){
it('[0,0,0] should be considered equal to [0,0,0]', function(){
assert.equal([0,0,0], [0,0,0]);
})
})
})
# Result: AssertionError: [0,0,0] == [0,0,0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment