diff options
author | Shashanka Nataraj <shashankan.10@gmail.com> | 2017-06-23 04:14:43 +0000 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2017-07-10 12:00:27 -0400 |
commit | c18d608537d8945de6c5855a9475657177fa74ac (patch) | |
tree | 1d1dee3376abc5218d3c0da26f540003d9b70f05 /test/unit/basic.js | |
parent | 490db839fb08a9b461e77dbe0138c7e6045aacd8 (diff) | |
download | jquery-c18d608537d8945de6c5855a9475657177fa74ac.tar.gz jquery-c18d608537d8945de6c5855a9475657177fa74ac.zip |
Core: Deprecate jQuery.isWindow
Fixes gh-3629
Close gh-3702
Diffstat (limited to 'test/unit/basic.js')
-rw-r--r-- | test/unit/basic.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/basic.js b/test/unit/basic.js index 5a2f5abc2..15bca8ff6 100644 --- a/test/unit/basic.js +++ b/test/unit/basic.js @@ -76,7 +76,7 @@ QUnit.test( "show/hide", function( assert ) { } QUnit.test( "core", function( assert ) { - assert.expect( 27 ); + assert.expect( 25 ); var elem = jQuery( "<div></div><span></span>" ); @@ -100,9 +100,6 @@ QUnit.test( "core", function( assert ) { "<?xml version='1.0' encoding='UTF-8'?><foo bar='baz'></foo>" ) ), "jQuery.isXMLDoc" ); - assert.ok( jQuery.isWindow( window ), "jQuery.isWindow(window)" ); - assert.ok( !jQuery.isWindow( 2 ), "jQuery.isWindow(Number)" ); - assert.strictEqual( jQuery.inArray( 3, [ "a", 6, false, 3, {} ] ), 3, "jQuery.inArray - true" ); assert.strictEqual( jQuery.inArray( 3, [ "a", 6, false, "3", {} ] ), |