diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-09-08 03:26:29 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-09-08 04:15:54 +0300 |
commit | 2f0cedc9972efa4bf9eb656001a098d9c51e53ec (patch) | |
tree | 33d44ac9d4a8ea0e441663c6f070593f615ce2b1 /test/unit/traversing.js | |
parent | f71e32d4b46f3be293304d40ed6dc85cf30d6a7b (diff) | |
download | jquery-2f0cedc9972efa4bf9eb656001a098d9c51e53ec.tar.gz jquery-2f0cedc9972efa4bf9eb656001a098d9c51e53ec.zip |
Tests: further improvements QUnit 2.0 migration
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done
Ref b930d14ce64937e9478405eee2828d4da091d2cb
Ref c8d15a2f9f108e90d3651c31e4abf45415a30fde
Diffstat (limited to 'test/unit/traversing.js')
-rw-r--r-- | test/unit/traversing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/traversing.js b/test/unit/traversing.js index 5d30f85b1..f18bb1fe1 100644 --- a/test/unit/traversing.js +++ b/test/unit/traversing.js @@ -859,7 +859,7 @@ QUnit.test( "index(no arg) #10977", function( assert ) { $list = jQuery( "<ul id='indextest'><li class='zero'>THIS ONE</li><li class='one'>a</li><li class='two'>b</li><li class='three'>c</li></ul>" ); jQuery( "#qunit-fixture" ).append( $list ); - strictEqual ( jQuery( "#indextest li.zero" ).first().index(), 0, "No Argument Index Check" ); + assert.strictEqual( jQuery( "#indextest li.zero" ).first().index(), 0, "No Argument Index Check" ); $list.remove(); fragment = document.createDocumentFragment(); |