aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavi <xavi.rmz@gmail.com>2011-01-09 20:34:15 -0500
committerXavi <xavi.rmz@gmail.com>2011-01-09 20:34:15 -0500
commit8d28f41f669168ebd436599f8b187c783fec4ba9 (patch)
tree787bf1149e0b919e09c28c0cd5f7c9bfa7227540
parent628bacc3ce26a7a0e0462c2a2e0d764edf859c97 (diff)
downloadjquery-8d28f41f669168ebd436599f8b187c783fec4ba9.tar.gz
jquery-8d28f41f669168ebd436599f8b187c783fec4ba9.zip
Bug 7931; Replaced with and
-rw-r--r--test/unit/offset.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js
index 66676def5..20bd70799 100644
--- a/test/unit/offset.js
+++ b/test/unit/offset.js
@@ -381,10 +381,10 @@ testoffset("scroll", function( jQuery, win ) {
equals( jQuery(document).scrollLeft(), 0, "jQuery(window).scrollLeft() other document" );
// Tests scrollTop/Left with empty jquery objects
- ok( jQuery().scrollTop(100) != null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
- ok( jQuery().scrollLeft(100) != null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
- ok( jQuery().scrollTop() === null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
- ok( jQuery().scrollLeft() === null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
+ notEqual( jQuery().scrollTop(100), null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
+ notEqual( jQuery().scrollLeft(100), null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
+ strictEqual( jQuery().scrollTop(), null, "jQuery().scrollTop(100) testing setter on empty jquery object" );
+ strictEqual( jQuery().scrollLeft(), null, "jQuery().scrollLeft(100) testing setter on empty jquery object" );
});
testoffset("body", function( jQuery ) {