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 committed 2015-12-26 18:00:02 -08:00
1 parent 686a85ff43
commit 082cc8d6d8
313 files changed
+317 -317

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var Stream = require('stream');
var Console = require('console').Console;