Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/cache.js')
-rw-r--r--test/lib/cache.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/cache.js b/test/lib/cache.js
index 5c2588f34..773adc6a8 100644
--- a/test/lib/cache.js
+++ b/test/lib/cache.js
@@ -70,7 +70,7 @@ const cache = new Cache(npm)
t.test('cache no args', t => {
cache.exec([], err => {
- t.equal(err.message, 'usage instructions', 'should throw usage instructions')
+ t.match(err.message, 'usage instructions', 'should throw usage instructions')
t.end()
})
})