mirror of https://github.com/lukechilds/node.git
Browse Source
It is way too easy to not notice bugs due to those modules being exported as globals while running the test suite. See: http://github.com/ry/node/issues#issue/75v0.7.4-release
Felix Geisendörfer
15 years ago
committed by
Ryan Dahl
19 changed files with 32 additions and 15 deletions
@ -1,9 +1,7 @@ |
|||||
process.mixin(require("../common")); |
process.mixin(require("../common")); |
||||
|
|
||||
var dirname = path.dirname(__filename); |
assert.equal(true, process.cwd() !== __dirname); |
||||
|
|
||||
assert.equal(true, process.cwd() !== dirname); |
process.chdir(__dirname); |
||||
|
|
||||
process.chdir(dirname); |
assert.equal(true, process.cwd() === __dirname); |
||||
|
|
||||
assert.equal(true, process.cwd() === dirname); |
|
||||
|
Loading…
Reference in new issue