From 5c53178c3cad8f53468a325f4daec03e33ec4d99 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Wed, 25 Jun 2014 15:47:46 +1000 Subject: [PATCH] tests: avoid pointless toASM in description --- test/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts.js b/test/scripts.js index c8cdae5..7376206 100644 --- a/test/scripts.js +++ b/test/scripts.js @@ -91,7 +91,7 @@ describe('Scripts', function() { var scriptPubKey = scripts.multisigOutput(pubKeys.length, pubKeys) describe('input script', function() { - it('is generated correctly for ' + scriptPubKey.toASM(), function() { + it('is generated correctly for ' + f.scriptPubKey, function() { var signatures = f.signatures.map(function(signature) { return new Buffer(signature, 'hex') }) @@ -102,7 +102,7 @@ describe('Scripts', function() { }) describe('output script', function() { - it('is generated correctly for ' + scriptPubKey.toASM(), function() { + it('is generated correctly for ' + f.scriptPubKey, function() { assert.equal(scriptPubKey.toASM(), f.scriptPubKey) }) })