| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3e6858e commit e4c320e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -82,15 +82,15 @@ assert.deepStrictEqual( | |||
| 82 | 82 | ); | |
| 83 | 83 | ||
| 84 | 84 | // stream interface should produce the same result. | |
| 85 | - assert.deepStrictEqual(a5, a3, 'stream interface is consistent'); | ||
| 86 | - assert.deepStrictEqual(a6, a3, 'stream interface is consistent'); | ||
| 87 | - assert.notStrictEqual(a7, undefined, 'no data should return data'); | ||
| 88 | - assert.notStrictEqual(a8, undefined, 'empty string should generate data'); | ||
| 85 | + assert.deepStrictEqual(a5, a3); | ||
| 86 | + assert.deepStrictEqual(a6, a3); | ||
| 87 | + assert.notStrictEqual(a7, undefined); | ||
| 88 | + assert.notStrictEqual(a8, undefined); | ||
| 89 | 89 | ||
| 90 | 90 | // Test multiple updates to same hash | |
| 91 | 91 | const h1 = crypto.createHash('sha1').update('Test123').digest('hex'); | |
| 92 | 92 | const h2 = crypto.createHash('sha1').update('Test').update('123').digest('hex'); | |
| 93 | - assert.strictEqual(h1, h2, 'multipled updates'); | ||
| 93 | + assert.strictEqual(h1, h2); | ||
| 94 | 94 | ||
| 95 | 95 | // Test hashing for binary files | |
| 96 | 96 | const fn = fixtures.path('sample.png'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments