Skip to content

Commit 7073576

Browse files
authored
chore: reorder parameters in invalid-versions.js test (#820)
This test puts true in the `t.throws` "message" field which is incorrect.
1 parent 16a35f5 commit 7073576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/invalid-versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = [
99
[`0.${MAX_SAFE_INTEGER}0.0`, 'too big'],
1010
[`0.0.${MAX_SAFE_INTEGER}0`, 'too big'],
1111
['hello, world', 'not a version'],
12-
['hello, world', true, 'even loose, its still junk'],
12+
['hello, world', 'even loose, its still junk', true],
1313
['xyz', 'even loose as an opt, same', { loose: true }],
1414
[/a regexp/, 'regexp is not a string'],
1515
[/1.2.3/, 'semver-ish regexp is not a string'],

0 commit comments

Comments
 (0)