diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-10-15 01:08:36 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-10-15 01:08:36 +0200 |
commit | 018e110cd11720997e49c9b270ecc50a04de4ece (patch) | |
tree | 7573cccca0be5399b964e015faaf94055dfeef37 /test/simple/test-mkdir-rmdir.js | |
parent | 3108a9ee3831b8b0a40a09314a005ef2430dacbc (diff) | |
download | node-new-018e110cd11720997e49c9b270ecc50a04de4ece.tar.gz |
test: replace .addListener() calls with .on()
Diffstat (limited to 'test/simple/test-mkdir-rmdir.js')
-rw-r--r-- | test/simple/test-mkdir-rmdir.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple/test-mkdir-rmdir.js b/test/simple/test-mkdir-rmdir.js index 023d4d4976..73534555c8 100644 --- a/test/simple/test-mkdir-rmdir.js +++ b/test/simple/test-mkdir-rmdir.js @@ -54,7 +54,7 @@ fs.mkdir(d, 0666, function(err) { } }); -process.addListener('exit', function() { +process.on('exit', function() { assert.equal(false, mkdir_error); assert.equal(false, rmdir_error); console.log('exit'); |