diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2016-07-09 00:46:58 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2016-07-09 00:49:43 +0300 |
commit | 522f546d9607022a312cc30f8699c5282469f9a1 (patch) | |
tree | 40cb1e4e81ef38ba21a8f731f0148f67c71ff558 /test | |
parent | 93f706200c6101df137469ba2e0d965e93508991 (diff) | |
download | jquery-522f546d9607022a312cc30f8699c5282469f9a1.tar.gz jquery-522f546d9607022a312cc30f8699c5282469f9a1.zip |
Build: More ESLint related changes
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/core.js | 1 | ||||
-rw-r--r-- | test/unit/manipulation.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index 8c0f8640e..b00db8c33 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1196,7 +1196,6 @@ QUnit.test( "jQuery.extend(Object, Object)", function( assert ) { ret = jQuery.extend( true, { "foo": 4 }, { "foo": new MyNumber( 5 ) } ); assert.ok( parseInt( ret.foo, 10 ) === 5, "Wrapped numbers copy correctly" ); - nullUndef; nullUndef = jQuery.extend( {}, options, { "xnumber2": null } ); assert.ok( nullUndef[ "xnumber2" ] === null, "Check to make sure null values are copied" ); diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index b8fdb8e79..911852451 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1359,7 +1359,7 @@ QUnit.test( "Empty replaceWith (trac-13401; trac-13596; gh-2204)", function( ass assert.strictEqual( $el.html(), "", "replaceWith(" + label + ")" ); $el.html( "<b/>" ).children().replaceWith( function() { return input; } ); assert.strictEqual( $el.html(), "", "replaceWith(function returning " + label + ")" ); - $el.html( "<i/>" ).children().replaceWith( function( i ) { i; return input; } ); + $el.html( "<i/>" ).children().replaceWith( function( i ) { return input; } ); assert.strictEqual( $el.html(), "", "replaceWith(other function returning " + label + ")" ); $el.html( "<p/>" ).children().replaceWith( function( i ) { return i ? |