File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -156,11 +156,13 @@ test( "outerHeight(true) - setter", function() {
156156test ( "uniqueId / removeUniqueId" , function ( ) {
157157 var el = $ ( "img" ) . eq ( 0 ) ;
158158
159- equal ( el . attr ( "id" ) , undefined , "element has no initial id" ) ;
159+ // TODO use equal(id, undefined) when dropping jQuery 1.6 support (or IE6/7)
160+ ok ( ! el . attr ( "id" ) , "element has no initial id" ) ;
160161 el . uniqueId ( ) ;
161162 ok ( / u i - i d - \d + $ / . test ( el . attr ( "id" ) ) , "element has generated id" ) ;
162163 el . removeUniqueId ( ) ;
163- equal ( el . attr ( "id" ) , undefined , "unique id has been removed from element" ) ;
164+ // TODO see above
165+ ok ( ! el . attr ( "id" ) , "unique id has been removed from element" ) ;
164166} ) ;
165167
166168} ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments