Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2018-04-20 21:48:17 +0300
committerKat Marchán <kzm@zkat.tech>2018-04-21 00:05:37 +0300
commit1d8ac2492196c4752b2e41b23d5ddc92780aaa24 (patch)
tree28d9574edb6d90821c6c6dc1560a3c4280993b9a /test
parentcd36a212ab2765eb875c02d15f7657b538dee1a3 (diff)
test: JSON parse error message changed slightly
PR-URL: https://github.com/npm/npm/pull/20389 Credit: @iarna Reviewed-By: @zkat
Diffstat (limited to 'test')
-rw-r--r--test/tap/install-parse-error.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tap/install-parse-error.js b/test/tap/install-parse-error.js
index b142abb39..1330195ea 100644
--- a/test/tap/install-parse-error.js
+++ b/test/tap/install-parse-error.js
@@ -39,7 +39,7 @@ test('failing to parse package.json should be error', function (t) {
function (err, code, stdout, stderr) {
if (err) throw err
t.equal(code, 1, 'exit not ok')
- t.similar(stderr, /npm ERR! Failed to parse json/)
+ t.similar(stderr, /npm ERR! JSON.parse Failed to parse json/)
t.end()
}
)