mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
530328f12b
Refactored test suite to use the assert module for testing rather than mjsunit.
10 lines
198 B
JavaScript
10 lines
198 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);
|