summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-01-07 21:52:24 -0800
committerRich Trott <rtrott@gmail.com>2019-01-09 22:19:20 -0800
commit82f03f89b4ceda21e4e1e758c28ef3283ff2d5f0 (patch)
treeb550db97f6468d1ebe476d1886ce2ba7f0bcf65d /test
parente18b46196565b87ac87ed5931c8dc1670cb23cc4 (diff)
downloadandroid-node-v8-82f03f89b4ceda21e4e1e758c28ef3283ff2d5f0.tar.gz
android-node-v8-82f03f89b4ceda21e4e1e758c28ef3283ff2d5f0.tar.bz2
android-node-v8-82f03f89b4ceda21e4e1e758c28ef3283ff2d5f0.zip
test: fix test/pummel/test-fs-watch-non-recursive.js
test-fs-watch-non-recursive was loading the `common/tmpdir` module as if it were a built-in and was failing because of it. Fix the path. The test now works. PR-URL: https://github.com/nodejs/node/pull/25386 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/pummel/test-fs-watch-non-recursive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-fs-watch-non-recursive.js b/test/pummel/test-fs-watch-non-recursive.js
index da11b423a6..c459acb14e 100644
--- a/test/pummel/test-fs-watch-non-recursive.js
+++ b/test/pummel/test-fs-watch-non-recursive.js
@@ -24,7 +24,7 @@ const common = require('../common');
const path = require('path');
const fs = require('fs');
-const tmpdir = require('tmpdir');
+const tmpdir = require('../common/tmpdir');
const testDir = tmpdir.path;
const testsubdir = path.join(testDir, 'testsubdir');