diff options
author | Dany Shaanan <danyshaanan@gmail.com> | 2016-09-17 12:32:33 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-09-20 16:35:39 -0700 |
commit | d469321946690f95670663e0bb3ad5aa08c6bfda (patch) | |
tree | e348ec360438efcb7acf693844b55673a4482008 /test/parallel/test-repl-context.js | |
parent | 66dbd9c9c1556b3ecd3c9f0ce13de99e4d2fc7e5 (diff) | |
download | android-node-v8-d469321946690f95670663e0bb3ad5aa08c6bfda.tar.gz android-node-v8-d469321946690f95670663e0bb3ad5aa08c6bfda.tar.bz2 android-node-v8-d469321946690f95670663e0bb3ad5aa08c6bfda.zip |
tools: add eslint rule prefer-assert-methods
PR-URL: https://github.com/nodejs/node/pull/8622
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: Jackson Tian <shvyo1987@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Diffstat (limited to 'test/parallel/test-repl-context.js')
-rw-r--r-- | test/parallel/test-repl-context.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-repl-context.js b/test/parallel/test-repl-context.js index 1b319a036f..2287a247d8 100644 --- a/test/parallel/test-repl-context.js +++ b/test/parallel/test-repl-context.js @@ -19,7 +19,7 @@ function testContext(repl) { assert(context.console instanceof require('console').Console); // ensure that the repl's global property is the context - assert(context.global === context); + assert.strictEqual(context.global, context); // ensure that the repl console instance does not have a setter assert.throws(() => context.console = 'foo'); |