aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector/selectorTest.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/selector/selectorTest.js')
-rw-r--r--src/selector/selectorTest.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js
index 458804bbf..9ae223309 100644
--- a/src/selector/selectorTest.js
+++ b/src/selector/selectorTest.js
@@ -163,7 +163,7 @@ test("attributes", function() {
});
test("pseudo (:) selectors", function() {
- expect(30);
+ expect(31);
t( "First Child", "p:first-child", ["firstp","sndp"] );
t( "Last Child", "p:last-child", ["sap"] );
t( "Only Child", "a:only-child", ["simon1","anchor1","yahoo","anchor2"] );
@@ -196,6 +196,8 @@ test("pseudo (:) selectors", function() {
t( "Form element :radio:checked", ":radio:checked", ["radio2"] );
t( "Form element :checkbox:checked", ":checkbox:checked", ["check1"] );
t( "Form element :checkbox:checked, :radio:checked", ":checkbox:checked, :radio:checked", ["check1", "radio2"] );
+
+ t( "Headers", ":header", ["header", "banner", "userAgent"] );
});
test("basic xpath", function() {