Changes deepEqual to equal
This commit is contained in:
parent
aa8d86e6a4
commit
665953300b
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ describe('Crypto', function() {
|
||||||
var actual = crypto.hash160(new Buffer(hex, 'hex')).toString('hex')
|
var actual = crypto.hash160(new Buffer(hex, 'hex')).toString('hex')
|
||||||
var expected = fixture.after.hash160[i]
|
var expected = fixture.after.hash160[i]
|
||||||
|
|
||||||
assert.deepEqual(actual, expected)
|
assert.equal(actual, expected)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -20,7 +20,7 @@ describe('Crypto', function() {
|
||||||
var actual = crypto.hash256(new Buffer(hex, 'hex')).toString('hex')
|
var actual = crypto.hash256(new Buffer(hex, 'hex')).toString('hex')
|
||||||
var expected = fixture.after.hash256[i]
|
var expected = fixture.after.hash256[i]
|
||||||
|
|
||||||
assert.deepEqual(actual, expected)
|
assert.equal(actual, expected)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -31,7 +31,7 @@ describe('Crypto', function() {
|
||||||
var actual = crypto.sha1(new Buffer(hex, 'hex')).toString('hex')
|
var actual = crypto.sha1(new Buffer(hex, 'hex')).toString('hex')
|
||||||
var expected = fixture.after.sha1[i]
|
var expected = fixture.after.sha1[i]
|
||||||
|
|
||||||
assert.deepEqual(actual, expected)
|
assert.equal(actual, expected)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -42,7 +42,7 @@ describe('Crypto', function() {
|
||||||
var actual = crypto.sha256(new Buffer(hex, 'hex')).toString('hex')
|
var actual = crypto.sha256(new Buffer(hex, 'hex')).toString('hex')
|
||||||
var expected = fixture.after.sha256[i]
|
var expected = fixture.after.sha256[i]
|
||||||
|
|
||||||
assert.deepEqual(actual, expected)
|
assert.equal(actual, expected)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue