diff options
author | Myles Borins <mylesborins@github.com> | 2020-10-13 19:44:18 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@github.com> | 2020-10-14 17:36:46 +0300 |
commit | d9e98df01bfbd9f6e760e09fc712bc8e3f99fa6e (patch) | |
tree | cf4d8b73608c98575844955f5bcc926f7f7b916e /test/parallel/test-npm-version.js | |
parent | 3ddcad55fb506612470d7c6b4a5f616b8cf81024 (diff) |
test: fix tests for npm 7.0.0
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test/parallel/test-npm-version.js')
-rw-r--r-- | test/parallel/test-npm-version.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-npm-version.js b/test/parallel/test-npm-version.js index e167ab0d1bc..aa4bb77ac8a 100644 --- a/test/parallel/test-npm-version.js +++ b/test/parallel/test-npm-version.js @@ -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}`); |