Skip to content

Commit 86e62d8

Browse files
committed
Selector: Remove "#" exception for identifier tokens
Port Sizzle test change from: jquery/sizzle@f204a61
1 parent 4f776e5 commit 86e62d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/selector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ test("attributes", function() {
166166
t( "Attribute Equals Number", "#qunit-fixture li[tabIndex=-1]", ["foodWithNegativeTabIndex"] );
167167

168168
document.getElementById("anchor2").href = "#2";
169-
t( "href Attribute", "p a[href^=#]", ["anchor2"] );
170-
t( "href Attribute", "p a[href*=#]", ["simon1", "anchor2"] );
169+
t( "href Attribute", "p a[href^='#']", ["anchor2"] );
170+
t( "href Attribute", "p a[href*='#']", ["simon1", "anchor2"] );
171171

172172
t( "for Attribute", "form label[for]", ["label-for"] );
173173
t( "for Attribute in form", "#form [for=action]", ["label-for"] );

0 commit comments

Comments
 (0)