Permalink
Browse files

Cleaned up tests

  • Loading branch information...
rauchg committed Feb 4, 2012
1 parent 0bd2f9b commit cb9bece28a5aa3076b0683e7d219fa113d43ce1a
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/expect.js
View
@@ -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");

0 comments on commit cb9bece

Please sign in to comment.