aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2011-10-23 15:31:50 -0400
committertimmywil <timmywillisn@gmail.com>2011-10-23 15:31:50 -0400
commit516f3cd7b5fd0e374b01843b5f78240feb03d959 (patch)
tree8b41613d6e2040e5099cae88dca38ba27cc66696 /test/unit
parenta6bec46170980f0559a9d6c2471a40cb2189a5a1 (diff)
downloadjquery-516f3cd7b5fd0e374b01843b5f78240feb03d959.tar.gz
jquery-516f3cd7b5fd0e374b01843b5f78240feb03d959.zip
Landing pull request 561. only check for not null in unit tests. Supplements #8388.
More Details: - https://github.com/jquery/jquery/pull/561 - http://bugs.jquery.com/ticket/8388
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index 7e9509593..ff1bb2641 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -505,7 +505,7 @@ test("widows & orphans #8936", function () {
test("can't get css for disconnected in IE<9, see #10254 and #8388", function() {
expect( 2 );
var span = jQuery( "<span/>" ).css( "background-image", "url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif)" );
- equal( span.css( "background-image" ), "url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif)", "can't get background-image in IE<9, see #10254" );
+ notEqual( span.css( "background-image" ), null, "can't get background-image in IE<9, see #10254" );
var div = jQuery( "<div/>" ).css( "top", 10 );
equal( div.css( "top" ), "10px", "can't get top in IE<9, see #8388" );