From 8f95d05613c64ddd7137f62e264e22db82f3db41 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Sat, 27 Feb 2016 16:38:51 -0800 Subject: [PATCH] adapt tests --- test/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/index.js b/test/index.js index 5b94895..4485056 100644 --- a/test/index.js +++ b/test/index.js @@ -50,7 +50,7 @@ test('hashes', async t => { const files = await getFiles(fixture('hashes')); const hashes = await hash(files); t.same(hashes.size, 3); - t.same(hashes.get('277c55a2042910b9fe706ad00859e008c1b7d172'), prefix + 'hashes/dei.png'); - t.same(hashes.get('56c00d0466fc6bdd41b13dac5fc920cc30a63b45'), prefix + 'hashes/index.js'); - t.same(hashes.get('706214f42ae940a01d2aa60c5e32408f4d2127dd'), prefix + 'hashes/package.json'); + t.same(hashes.get('277c55a2042910b9fe706ad00859e008c1b7d172').name, prefix + 'hashes/dei.png'); + t.same(hashes.get('56c00d0466fc6bdd41b13dac5fc920cc30a63b45').name, prefix + 'hashes/index.js'); + t.same(hashes.get('706214f42ae940a01d2aa60c5e32408f4d2127dd').name, prefix + 'hashes/package.json'); });