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: #35631
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
  • Loading branch information
MylesBorins committed Oct 14, 2020
1 parent 3ddcad5 commit d9e98df
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 d9e98df

Please sign in to comment.