Skip to content
This repository was archived by the owner on Aug 31, 2018. It is now read-only.

Commit 212ef30

Browse files
NigelKibodeauxQard
authored andcommitted
test: increase fs.exists coverage
PR-URL: nodejs/node#15963 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent eed6b24 commit 212ef30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-fs-exists.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ fs.exists(f, common.mustCall(function(y) {
3030
assert.strictEqual(y, true);
3131
}));
3232

33+
assert.doesNotThrow(() => fs.exists(f));
34+
3335
fs.exists(`${f}-NO`, common.mustCall(function(y) {
3436
assert.strictEqual(y, false);
3537
}));

0 commit comments

Comments
 (0)