From 665953300b0000aa7db807d786829ff2d1c9cce7 Mon Sep 17 00:00:00 2001 From: Daniel Cousens <daniel210x@gmail.com> Date: Tue, 8 Apr 2014 23:50:27 +1000 Subject: [PATCH] Changes deepEqual to equal --- test/crypto.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/crypto.js b/test/crypto.js index efe8a12..9b2068b 100644 --- a/test/crypto.js +++ b/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) }) }) })