Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

synced jQuery selector tests to catch emitted errors

  • Loading branch information...
commit 76a9d488ecb2352bc1c55f387d1d1a923f487432 1 parent 4991a44
@dperini authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/jquery/unit/selector.js
View
2  test/jquery/unit/selector.js
@@ -68,7 +68,7 @@ test("broken", function() {
try {
t(name, selector, [ ]);
} catch(e){
- ok( 'SyntaxError' == e.name,
+ ok( /error/i.test(e.name),
name + ": " + selector );
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.