Skip to content

Commit

Permalink
Add failing test for jsdom#275.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Dec 10, 2012
1 parent d255367 commit 8d4ad20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/jsdom/index.js
Expand Up @@ -592,6 +592,8 @@ exports.tests = {
test.equal(element2, div.children.item(0), 'p and first-p');
var element3 = document.querySelector("#main p:not(.foo)");
test.equal(element3, div.children.item(1), 'p and second-p');
var element3 = document.querySelector("#asdf");
test.equal(element3, null, 'nonexistent becomes null');
test.done();
},

Expand Down

0 comments on commit 8d4ad20

Please sign in to comment.