From d9e98df01bfbd9f6e760e09fc712bc8e3f99fa6e Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 13 Oct 2020 12:44:18 -0400 Subject: [PATCH] test: fix tests for npm 7.0.0 PR-URL: https://github.com/nodejs/node/pull/35631 Reviewed-By: Ben Coe Reviewed-By: Ruy Adorno Reviewed-By: Rich Trott Reviewed-By: Jiawen Geng Reviewed-By: Antoine du Hamel Reviewed-By: Daijiro Wachi --- test/parallel/test-npm-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-npm-version.js b/test/parallel/test-npm-version.js index e167ab0d1bcd11..aa4bb77ac8a44f 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}`);