Skip to content

Commit

Permalink
Add tests for mochajs#1182 (close mochajs#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery authored and tandrewnichols committed Dec 15, 2014
1 parent 006ada1 commit 846766b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions test/acceptance/diffs.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,11 @@ describe('diffs', function(){

// tobi.should.eql(loki);
});

it('should show value diffs and not be affected by commas', function(){
var obj1 = { a: 123 };
var obj2 = { a: 123, b: 456 };

// obj1.should.equal(obj2);
});
});
2 changes: 1 addition & 1 deletion test/acceptance/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('lib/utils', function () {
var travis = { name: 'travis' };
travis.whoami = travis;

utils.stringify(travis).should.equal('{\n "name": "travis",\n "whoami": "[Circular]"\n}');
utils.stringify(travis).should.equal('{\n "name": "travis"\n "whoami": "[Circular]"\n}');
});
});
});

0 comments on commit 846766b

Please sign in to comment.