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:
Rich Trott authored and Jeremiah Senkpiel committed 2016-01-06 12:10:41 -05:00
1 parent 0799a9abaf
commit cd79ec268d
313 files changed
+317 -317

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const Buffer = require('buffer').Buffer;