Browse Source

Changes deepEqual to equal

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
665953300b
  1. 8
      test/crypto.js

8
test/crypto.js

@ -9,7 +9,7 @@ describe('Crypto', function() {
var actual = crypto.hash160(new Buffer(hex, 'hex')).toString('hex')
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 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 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 expected = fixture.after.sha256[i]
assert.deepEqual(actual, expected)
assert.equal(actual, expected)
})
})
})

Loading…
Cancel
Save