Skip to content

Commit

Permalink
tests: remove falsy empty string
Browse files Browse the repository at this point in the history
This should not be here since `fs.mkdtemp()`/`fs.mkdtempSync()` also accepts an empty string in validation.
  • Loading branch information
VoltrexKeyva authored Jun 14, 2021
1 parent 6b65841 commit c8634ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-mkdtemp-prefix-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const common = require('../common');
const assert = require('assert');
const fs = require('fs');

const prefixValues = [undefined, null, 0, true, false, 1, ''];
const prefixValues = [undefined, null, 0, true, false, 1];

function fail(value) {
assert.throws(
Expand Down

0 comments on commit c8634ed

Please sign in to comment.