Updated a Selector test to reflect a recent bug fix.
This commit is contained in:
parent
769ae42fcc
commit
08a68b1b3a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue