Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
test: JSON parse error message changed slightly
PR-URL: #20389
Credit: @iarna
Reviewed-By: @zkat
  • Loading branch information
iarna authored and zkat committed Apr 20, 2018
1 parent cd36a21 commit 1d8ac2492196c4752b2e41b23d5ddc92780aaa24
Showing with 1 addition and 1 deletion.
  1. +1 −1 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/)

0 comments on commit 1d8ac24

Please sign in to comment.