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() {
156
156
test ( "uniqueId / removeUniqueId" , function ( ) {
157
157
var el = $ ( "img" ) . eq ( 0 ) ;
158
158
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" ) ;
160
161
el . uniqueId ( ) ;
161
162
ok ( / u i - i d - \d + $ / . test ( el . attr ( "id" ) ) , "element has generated id" ) ;
162
163
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" ) ;
164
166
} ) ;
165
167
166
168
} ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments