diff options
author | Rebecca Turner <me@re-becca.org> | 2018-04-20 21:48:17 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-04-21 00:05:37 +0300 |
commit | 1d8ac2492196c4752b2e41b23d5ddc92780aaa24 (patch) | |
tree | 28d9574edb6d90821c6c6dc1560a3c4280993b9a /test | |
parent | cd36a212ab2765eb875c02d15f7657b538dee1a3 (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.js | 2 |
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() } ) |