summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/404-private-registry-scoped.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/404-private-registry-scoped.js')
-rw-r--r--deps/npm/test/tap/404-private-registry-scoped.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/test/tap/404-private-registry-scoped.js b/deps/npm/test/tap/404-private-registry-scoped.js
index 0f0cbc4ec7..48889376ca 100644
--- a/deps/npm/test/tap/404-private-registry-scoped.js
+++ b/deps/npm/test/tap/404-private-registry-scoped.js
@@ -42,7 +42,7 @@ test('scoped package names not mangled on error with non-root registry', functio
t.ifError(er, 'correctly handled 404')
t.equal(code, 1, 'exited with error')
t.match(stderr, /E404/, 'should notify the sort of error as a 404')
- t.match(stderr, /@scope\/foo/, 'should have package name in error')
+ t.match(stderr, /@scope(?:%2f|\/)foo/, 'should have package name in error')
server.done()
t.end()
}