Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleaned up tests

  • Loading branch information...
commit cb9bece28a5aa3076b0683e7d219fa113d43ce1a 1 parent 0bd2f9b
@rauchg rauchg authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/expect.js
View
6 test/expect.js
@@ -285,10 +285,14 @@ 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");
Please sign in to comment.
Something went wrong with that request. Please try again.