summaryrefslogtreecommitdiff
path: root/test/pummel/test-watch-file.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-10-15 01:08:36 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2011-10-15 01:08:36 +0200
commit018e110cd11720997e49c9b270ecc50a04de4ece (patch)
tree7573cccca0be5399b964e015faaf94055dfeef37 /test/pummel/test-watch-file.js
parent3108a9ee3831b8b0a40a09314a005ef2430dacbc (diff)
downloadandroid-node-v8-018e110cd11720997e49c9b270ecc50a04de4ece.tar.gz
android-node-v8-018e110cd11720997e49c9b270ecc50a04de4ece.tar.bz2
android-node-v8-018e110cd11720997e49c9b270ecc50a04de4ece.zip
test: replace .addListener() calls with .on()
Diffstat (limited to 'test/pummel/test-watch-file.js')
-rw-r--r--test/pummel/test-watch-file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-watch-file.js b/test/pummel/test-watch-file.js
index 04a7f13e21..1a3d854101 100644
--- a/test/pummel/test-watch-file.js
+++ b/test/pummel/test-watch-file.js
@@ -49,6 +49,6 @@ var fd = fs.openSync(f, 'w+');
fs.writeSync(fd, 'xyz\n');
fs.closeSync(fd);
-process.addListener('exit', function() {
+process.on('exit', function() {
assert.ok(changes > 0);
});