From 75b2627cca9f28d26341dc4a9a27d9ee56d15bd3 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Thu, 9 Mar 2017 11:01:48 -0500 Subject: [PATCH] test: ESLint: no-eq-null --- test/test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test.js b/test/test.js index 1f3e9265..7f88afed 100644 --- a/test/test.js +++ b/test/test.js @@ -518,7 +518,7 @@ describe('form', function() { assert.ok(true, 'pre-callback'); assert.ok(a.constructor == Array, 'type check'); assert.ok(jq.jquery, 'type check jQuery'); - assert.ok(arrayValue(a, 'form4inputName') != null, 'submit button'); + assert.ok(arrayValue(a, 'form4inputName') !== null, 'submit button'); } }; @@ -535,8 +535,8 @@ describe('form', function() { assert.ok(true, 'pre-callback'); assert.ok(a.constructor == Array, 'type check'); assert.ok(jq.jquery, 'type check jQuery'); - assert.ok(arrayValue(a, 'myImage.x') != null, 'x coord'); - assert.ok(arrayValue(a, 'myImage.y') != null, 'y coord'); + assert.ok(arrayValue(a, 'myImage.x') !== null, 'x coord'); + assert.ok(arrayValue(a, 'myImage.y') !== null, 'y coord'); } }; @@ -554,8 +554,8 @@ describe('form', function() { assert.ok(true, 'pre-callback'); assert.ok(a.constructor == Array, 'type check'); assert.ok(jq.jquery, 'type check jQuery'); - assert.ok(arrayValue(a, 'myImage.x') != null, 'x coord'); - assert.ok(arrayValue(a, 'myImage.y') != null, 'y coord'); + assert.ok(arrayValue(a, 'myImage.x') !== null, 'x coord'); + assert.ok(arrayValue(a, 'myImage.y') !== null, 'y coord'); } };