Skip to content

Commit abbf6a7

Browse files
committed
Tests: Update support comments.
1 parent 0e550f1 commit abbf6a7

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

tests/unit/core/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ test( "uniqueId / removeUniqueId", function() {
158158

159159
// support: jQuery <1.6.2
160160
// support: IE <8
161-
// We should use equal( id, undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
161+
// We should use strictEqual( id, undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
162162
ok( !el.attr( "id" ), "element has no initial id" );
163163
el.uniqueId();
164164
ok( /ui-id-\d+$/.test( el.attr( "id" ) ), "element has generated id" );

tests/unit/tooltip/tooltip_core.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ test( "accessibility", function() {
3434
equal( element.attr( "aria-describedby" ), "fixture-span " + tooltipId,
3535
"multiple describedby when open" );
3636
// strictEqual to distinguish between .removeAttr( "title" ) and .attr( "title", "" )
37-
// TODO actually use strictEqual(..., undefined, msg) when dropping jQuery 1.6 support (or IE6/7)
37+
// support: jQuery <1.6.2
38+
// support: IE <8
39+
// We should use strictEqual( ..., undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
3840
ok( !element.attr( "title" ), "no title when open" );
3941
element.tooltip( "close" );
4042
equal( element.attr( "aria-describedby" ), "fixture-span",

tests/unit/tooltip/tooltip_methods.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ test( "enable/disable", function() {
4242

4343
element.tooltip( "disable" );
4444
equal( $( ".ui-tooltip" ).length, 0, "no tooltip when disabled" );
45-
// TODO use equal(..., undefined, msg) when dropping jQuery 1.6 support (or IE6/7)
45+
// support: jQuery <1.6.2
46+
// support: IE <8
47+
// We should use strictEqual( ..., undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
4648
ok( !tooltip.attr( "title" ), "title removed on disable" );
4749

4850
element.tooltip( "open" );

0 commit comments

Comments
 (0)