aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/basic.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/basic.js')
-rw-r--r--test/unit/basic.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/unit/basic.js b/test/unit/basic.js
index 028492c2c..d01ee5346 100644
--- a/test/unit/basic.js
+++ b/test/unit/basic.js
@@ -76,17 +76,13 @@ QUnit.test( "show/hide", function( assert ) {
}
QUnit.test( "core", function( assert ) {
- assert.expect( 21 );
+ assert.expect( 17 );
var elem = jQuery( "<div></div><span></span>" );
assert.strictEqual( elem.length, 2, "Correct number of elements" );
assert.strictEqual( jQuery.trim( " hello " ), "hello", "jQuery.trim" );
- assert.strictEqual( jQuery.type( null ), "null", "jQuery.type(null)" );
- assert.strictEqual( jQuery.type( undefined ), "undefined", "jQuery.type(undefined)" );
- assert.strictEqual( jQuery.type( "a" ), "string", "jQuery.type(String)" );
-
assert.ok( jQuery.isPlainObject( { "a": 2 } ), "jQuery.isPlainObject(object)" );
assert.ok( !jQuery.isPlainObject( "foo" ), "jQuery.isPlainObject(String)" );