test: fix nits in test-fs-mkdir-rmdir.js · nodejs/node@fa75be7 · GitHub
Skip to content

Commit fa75be7

Browse files
vsemozhetbytMylesBorins
authored andcommitted
test: fix nits in test-fs-mkdir-rmdir.js
* Add common.mustCall(). * Add check for error existence, not only for error details. * Use test(), not match() in a boolean context. * Properly reverse meanings of assert messages. PR-URL: #13680 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 8f430e7 commit fa75be7

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

test/parallel/test-fs-mkdir-rmdir.js

Lines changed: 8 additions & 7 deletions

0 commit comments

Comments
 (0)