diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-25 14:51:51 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-25 14:51:51 -0400 |
commit | abbf6a79a91cdc64005fcbb28d98ad71a27b61c0 (patch) | |
tree | 6ba45ae79306dcf9e1755cbc3c55a03c0ff50f59 | |
parent | 0e550f16bbaf28e991f6236f367c22727bef2bf3 (diff) | |
download | jquery-ui-abbf6a79a91cdc64005fcbb28d98ad71a27b61c0.tar.gz jquery-ui-abbf6a79a91cdc64005fcbb28d98ad71a27b61c0.zip |
Tests: Update support comments.
-rw-r--r-- | tests/unit/core/core.js | 2 | ||||
-rw-r--r-- | tests/unit/tooltip/tooltip_core.js | 4 | ||||
-rw-r--r-- | tests/unit/tooltip/tooltip_methods.js | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js index b3020179d..41bc2ab5b 100644 --- a/tests/unit/core/core.js +++ b/tests/unit/core/core.js @@ -158,7 +158,7 @@ test( "uniqueId / removeUniqueId", function() { // support: jQuery <1.6.2 // support: IE <8 - // We should use equal( id, undefined ) when dropping jQuery 1.6.1 support (or IE6/7) + // We should use strictEqual( id, undefined ) when dropping jQuery 1.6.1 support (or IE6/7) ok( !el.attr( "id" ), "element has no initial id" ); el.uniqueId(); ok( /ui-id-\d+$/.test( el.attr( "id" ) ), "element has generated id" ); diff --git a/tests/unit/tooltip/tooltip_core.js b/tests/unit/tooltip/tooltip_core.js index 52941784f..2b39253a2 100644 --- a/tests/unit/tooltip/tooltip_core.js +++ b/tests/unit/tooltip/tooltip_core.js @@ -34,7 +34,9 @@ test( "accessibility", function() { equal( element.attr( "aria-describedby" ), "fixture-span " + tooltipId, "multiple describedby when open" ); // strictEqual to distinguish between .removeAttr( "title" ) and .attr( "title", "" ) - // TODO actually use strictEqual(..., undefined, msg) when dropping jQuery 1.6 support (or IE6/7) + // support: jQuery <1.6.2 + // support: IE <8 + // We should use strictEqual( ..., undefined ) when dropping jQuery 1.6.1 support (or IE6/7) ok( !element.attr( "title" ), "no title when open" ); element.tooltip( "close" ); equal( element.attr( "aria-describedby" ), "fixture-span", diff --git a/tests/unit/tooltip/tooltip_methods.js b/tests/unit/tooltip/tooltip_methods.js index 33ce44764..ef783cbd3 100644 --- a/tests/unit/tooltip/tooltip_methods.js +++ b/tests/unit/tooltip/tooltip_methods.js @@ -42,7 +42,9 @@ test( "enable/disable", function() { element.tooltip( "disable" ); equal( $( ".ui-tooltip" ).length, 0, "no tooltip when disabled" ); - // TODO use equal(..., undefined, msg) when dropping jQuery 1.6 support (or IE6/7) + // support: jQuery <1.6.2 + // support: IE <8 + // We should use strictEqual( ..., undefined ) when dropping jQuery 1.6.1 support (or IE6/7) ok( !tooltip.attr( "title" ), "title removed on disable" ); element.tooltip( "open" ); |