From 7bcf844e28d2606307e57ac85bb79d70e413b202 Mon Sep 17 00:00:00 2001 From: Nigel Kibodeaux Date: Wed, 25 Oct 2017 13:35:53 -0800 Subject: [PATCH] test; increase fs.exists coverage --- test/parallel/test-fs-exists.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-fs-exists.js b/test/parallel/test-fs-exists.js index b19aa387741a70..331c8c04e38e78 100644 --- a/test/parallel/test-fs-exists.js +++ b/test/parallel/test-fs-exists.js @@ -30,6 +30,8 @@ fs.exists(f, common.mustCall(function(y) { assert.strictEqual(y, true); })); +assert.doesNotThrow(() => fs.exists(f)); + fs.exists(`${f}-NO`, common.mustCall(function(y) { assert.strictEqual(y, false); }));