Skip to content

Commit

Permalink
test: fix tests for npm 7.0.0
Browse files Browse the repository at this point in the history
PR-URL: nodejs#35631
Reviewed-By: Ben Coe <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
  • Loading branch information
MylesBorins authored and joesepi committed Oct 22, 2020
1 parent 00238cf commit 1d8b782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-npm-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ const npmPathPackageJson = path.resolve(
);

const pkg = require(npmPathPackageJson);
assert(pkg.version.match(/^\d+\.\d+\.\d+-rc\.\d+$/),
assert(pkg.version.match(/^\d+\.\d+\.\d+$/),
`unexpected version number: ${pkg.version}`);

0 comments on commit 1d8b782

Please sign in to comment.