diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-07-15 03:30:28 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-07-21 20:40:52 +0300 |
commit | 4f875222445b07016a8294fa5a5bf7418c735489 (patch) | |
tree | fcb4996be68507c06dec905eacff6300d74319e7 /test/parallel/test-assert-typedarray-deepequal.js | |
parent | 43bd47c352a368db6051b1017225abace015d3c9 (diff) | |
download | android-node-v8-4f875222445b07016a8294fa5a5bf7418c735489.tar.gz android-node-v8-4f875222445b07016a8294fa5a5bf7418c735489.tar.bz2 android-node-v8-4f875222445b07016a8294fa5a5bf7418c735489.zip |
doc, lib, test: do not re-require needlessly
PR-URL: https://github.com/nodejs/node/pull/14244
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Diffstat (limited to 'test/parallel/test-assert-typedarray-deepequal.js')
-rw-r--r-- | test/parallel/test-assert-typedarray-deepequal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-assert-typedarray-deepequal.js b/test/parallel/test-assert-typedarray-deepequal.js index f5ecb274a8..7eed19cc53 100644 --- a/test/parallel/test-assert-typedarray-deepequal.js +++ b/test/parallel/test-assert-typedarray-deepequal.js @@ -2,7 +2,6 @@ require('../common'); const assert = require('assert'); -const a = require('assert'); function makeBlock(f) { const args = Array.prototype.slice.call(arguments, 1); @@ -51,7 +50,8 @@ equalArrayPairs.forEach((arrayPair) => { notEqualArrayPairs.forEach((arrayPair) => { assert.throws( - makeBlock(a.deepEqual, arrayPair[0], arrayPair[1]), - a.AssertionError + // eslint-disable-next-line no-restricted-properties + makeBlock(assert.deepEqual, arrayPair[0], arrayPair[1]), + assert.AssertionError ); }); |