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