Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added test for bug #190
  • Loading branch information
jzaefferer committed Sep 16, 2006
1 parent fa2aaf2 commit 060c55b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/test/index.html
Expand Up @@ -52,7 +52,7 @@ <h1>jQuery - Test Suite</h1>
<option id="option1c" value="2">2</option>
<option id="option1d" value="3">3</option>
</select>
<select name="select1" id="select2">
<select name="select2" id="select2">
<option id="option2a" value="">Nothing</option>
<option id="option2b" value="1">1</option>
<option id="option2c" value="2">2</option>
Expand Down
4 changes: 4 additions & 0 deletions src/jquery/jquery.js
Expand Up @@ -1662,6 +1662,10 @@ jQuery.extend({
* @test t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"] );
* @test t( "All Children of ID with no children", "#firstUL/*", [] );
*
* @test t( ":not() Existing attribute", "input:not([@name])", ["text2", "check2"]);
* @test t( ":not() Equals attribute", "select:not([@name=select1])", ["select2", "select3"]);
* @test t( ":not() Equals quoted attribute", "select:not([@name='select1'])", ["select2", "select3"]);
*
* @name $.find
* @type Array<Element>
* @private
Expand Down

0 comments on commit 060c55b

Please sign in to comment.