mirror of https://github.com/nodejs/node.git
10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
|
process.mixin(require("../common"));
|
||
|
|
||
|
var dirname = path.dirname(__filename);
|
||
|
|
||
|
assert.equal(true, process.cwd() !== dirname);
|
||
|
|
||
|
process.chdir(dirname);
|
||
|
|
||
|
assert.equal(true, process.cwd() === dirname);
|