summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/install-parse-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/install-parse-error.js')
-rw-r--r--deps/npm/test/tap/install-parse-error.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/test/tap/install-parse-error.js b/deps/npm/test/tap/install-parse-error.js
index 72d19efc25..1330195ead 100644
--- a/deps/npm/test/tap/install-parse-error.js
+++ b/deps/npm/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()
}
)
@@ -49,4 +49,3 @@ test('cleanup', function (t) {
cleanup()
t.end()
})
-