diff options
Diffstat (limited to 'test/lib/cache.js')
-rw-r--r-- | test/lib/cache.js | 2 |
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() }) }) |