diff options
author | Herbert Vojčík <herby@mailbox.sk> | 2010-08-17 17:21:43 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-08-17 08:41:05 -0700 |
commit | cf2b206a8e410e677c890e941fa0bd1d7419b1a0 (patch) | |
tree | 57f20019b74a6e75f492cfe097124b5f5b467e31 /test/simple/test-readdir.js | |
parent | 1872719b8cad36dd8ea3add973ea58f638fc340c (diff) | |
download | node-new-cf2b206a8e410e677c890e941fa0bd1d7419b1a0.tar.gz |
More changes to tests so they really work under context module loader.
Plus, getting rid of test/common.js defining things in global.
Diffstat (limited to 'test/simple/test-readdir.js')
-rw-r--r-- | test/simple/test-readdir.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simple/test-readdir.js b/test/simple/test-readdir.js index 8d3f6fd508..e89f42a55b 100644 --- a/test/simple/test-readdir.js +++ b/test/simple/test-readdir.js @@ -19,7 +19,7 @@ var files = ['are' console.log('readdirSync ' + readdirDir); var f = fs.readdirSync(readdirDir); -p(f); +common.p(f); assert.deepEqual(files, f.sort()); @@ -29,7 +29,7 @@ fs.readdir(readdirDir, function (err, f) { console.log("error"); got_error = true; } else { - p(f); + common.p(f); assert.deepEqual(files, f.sort()); } }); |