mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: remove unnecessary assignments
common.js needs to be loaded in all tests so that there is checking for variable leaks and possibly other things. However, it does not need to be assigned to a variable if nothing in common.js is referred to elsewhere in the test. PR-URL: https://github.com/nodejs/node/pull/4408 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
0799a9abaf
commit
cd79ec268d
313 files changed
+317
-317
No files matched your search
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
require('../common');
|
||||
const assert = require('assert');
|
||||
|
||||
const Buffer = require('buffer').Buffer;
|
||||
|
||||
Reference in new issue
Block a user