diff options
author | Felix Geisendörfer <felix@debuggable.com> | 2010-03-08 19:02:19 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-03-08 10:20:07 -0800 |
commit | 44dde5f24cf53ca1b01b5a4307dc861d53a53f4b (patch) | |
tree | 69da4a08e3e15fc0a5ed4fec970d6d00c5646d6d /test/simple/test-mkdir-rmdir.js | |
parent | e898c1f2e30a05dd6a45f061468392ca44754b5f (diff) | |
download | node-new-44dde5f24cf53ca1b01b5a4307dc861d53a53f4b.tar.gz |
Remove fs/path globals from test suite
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/75
Diffstat (limited to 'test/simple/test-mkdir-rmdir.js')
-rw-r--r-- | test/simple/test-mkdir-rmdir.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/simple/test-mkdir-rmdir.js b/test/simple/test-mkdir-rmdir.js index b19d6ac295..24e8835991 100644 --- a/test/simple/test-mkdir-rmdir.js +++ b/test/simple/test-mkdir-rmdir.js @@ -1,4 +1,6 @@ process.mixin(require("../common")); +var path = require('path'); +var fs = require('fs'); var dirname = path.dirname(__filename); var fixtures = path.join(dirname, "../fixtures"); |