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'; |
'use strict'; |
||||
var common = require('../common'); |
require('../common'); |
||||
var assert = require('assert'); |
var assert = require('assert'); |
||||
|
|
||||
console.log('hello world'); |
console.log('hello world'); |
||||
|
@ -1,5 +1,5 @@ |
|||||
'use strict'; |
'use strict'; |
||||
var common = require('../common'); |
require('../common'); |
||||
var assert = require('assert'); |
var assert = require('assert'); |
||||
|
|
||||
throw null; |
throw null; |
||||
|
@ -1,5 +1,5 @@ |
|||||
'use strict'; |
'use strict'; |
||||
var common = require('../common'); |
require('../common'); |
||||
var assert = require('assert'); |
var assert = require('assert'); |
||||
|
|
||||
throw undefined; |
throw undefined; |
||||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue