Changes deepEqual to equal

This commit is contained in:
Daniel Cousens 2014-04-08 23:50:27 +10:00
parent aa8d86e6a4
commit 665953300b

View file

@ -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)
}) })
}) })
}) })