From 08a68b1b3a22f71dd2fb04fd61d49cf74927e553 Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Tue, 4 Dec 2007 01:53:56 +0000 Subject: [PATCH] Updated a Selector test to reflect a recent bug fix. --- test/unit/selector.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/selector.html b/test/unit/selector.html index 77afc4d..b908895 100644 --- a/test/unit/selector.html +++ b/test/unit/selector.html @@ -107,7 +107,11 @@ assertEnumEqual($A(document.getElementsByTagName('li')), $$('li')); assertEnumEqual([$('strong')], $$('strong')); assertEnumEqual([], $$('nonexistent')); - assertEnumEqual($A(document.getElementsByTagName('*')), $$('*')); + + var allNodes = $A(document.getElementsByTagName('*')).select( function() { + return node.tagName !== '!'; + }); + assertEnumEqual(allNodes, $$('*')); }}, testSelectorWithId: function() {with(this) {