Navigation Menu

Skip to content

Commit

Permalink
Cleaned up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Feb 4, 2012
1 parent 0bd2f9b commit cb9bece
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/expect.js
Expand Up @@ -285,9 +285,13 @@ describe('expect', function () {
}, 'expected null to be an object');

err(function () {
expect({ "a": "b" }).to.be.empty();
expect({ a: 'b' }).to.be.empty();
}, 'expected { a: \'b\' } to be empty');

err(function () {
expect({ length: '0' }).to.be.empty();
}, 'expected { length: \'0\' } to be empty');

err(function () {
expect('asd').to.be.empty();
}, "expected 'asd' to be empty");
Expand Down

0 comments on commit cb9bece

Please sign in to comment.