fix(ci): update

This commit is contained in:
2019-11-21 14:20:57 +00:00
parent 58d4d17e8a
commit c06ac22a59
7 changed files with 74 additions and 112 deletions

View File

@ -30,18 +30,18 @@ tap.test('sha256fromFile should convert a Stream to sha256', async () => {
tap.test('should produce reproducible hash from Object', async () => {
const hash1 = await smarthash.sha265FromObject({
'hithere': 1,
'wow': 'two'
hithere: 1,
wow: 'two'
});
const hash2 = await smarthash.sha265FromObject({
'wow': 'two',
'hithere': 1,
wow: 'two',
hithere: 1
});
const hash3 = await smarthash.sha265FromObject({
'wow': 'twoe',
'hithere': 1,
wow: 'twoe',
hithere: 1
});
expect(hash1).to.equal(hash2);
expect(hash1).to.not.equal(hash3);