diff --git a/test/unit/selector.html b/test/unit/selector.html index b908895..6c01bbe 100644 --- a/test/unit/selector.html +++ b/test/unit/selector.html @@ -108,7 +108,7 @@ assertEnumEqual([$('strong')], $$('strong')); assertEnumEqual([], $$('nonexistent')); - var allNodes = $A(document.getElementsByTagName('*')).select( function() { + var allNodes = $A(document.getElementsByTagName('*')).select( function(node) { return node.tagName !== '!'; }); assertEnumEqual(allNodes, $$('*'));