Updated a Selector test to reflect a recent bug fix.

This commit is contained in:
Andrew Dupont 2007-12-04 01:53:56 +00:00
parent 769ae42fcc
commit 08a68b1b3a
1 changed files with 5 additions and 1 deletions

View File

@ -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) {