mirror of https://github.com/lukechilds/node.git
Browse Source
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>process-exit-stdio-flushing
Rich Trott
9 years ago
313 changed files with 317 additions and 317 deletions
@ -1,5 +1,5 @@ |
|||
'use strict'; |
|||
var common = require('../common'); |
|||
require('../common'); |
|||
var assert = require('assert'); |
|||
|
|||
console.log('hello world'); |
|||
|
@ -1,5 +1,5 @@ |
|||
'use strict'; |
|||
var common = require('../common'); |
|||
require('../common'); |
|||
var assert = require('assert'); |
|||
|
|||
throw null; |
|||
|
@ -1,5 +1,5 @@ |
|||
'use strict'; |
|||
var common = require('../common'); |
|||
require('../common'); |
|||
var assert = require('assert'); |
|||
|
|||
throw undefined; |
|||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue