Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
test: JSON parse error message changed slightly
Browse files Browse the repository at this point in the history
PR-URL: #20389
Credit: @iarna
Reviewed-By: @zkat
  • Loading branch information
iarna authored and zkat committed Apr 20, 2018
1 parent cd36a21 commit 1d8ac24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/install-parse-error.js
Expand Up @@ -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()
}
)
Expand Down

0 comments on commit 1d8ac24

Please sign in to comment.