mirror of https://github.com/lukechilds/node.git
Browse Source
PR-URL: https://github.com/nodejs/node/pull/10541 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>v6
29 changed files with 67 additions and 67 deletions
@ -1,4 +1,4 @@ |
|||
const assert = require('assert'); |
|||
assert.notEqual(module, require.main, 'require.main should not == module'); |
|||
assert.notEqual(module, process.mainModule, |
|||
'process.mainModule should not === module'); |
|||
assert.notStrictEqual(module, require.main, 'require.main should not == module'); |
|||
assert.notStrictEqual(module, process.mainModule, |
|||
'process.mainModule should not === module'); |
|||
|
Loading…
Reference in new issue