From 6eb167b2c82c41fcca47271e4d18b13d226d32e3 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 16 May 2014 16:42:44 +1000 Subject: [PATCH] message: remove unnecessary tests --- test/message.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/message.js b/test/message.js index 8328be7..7f31545 100644 --- a/test/message.js +++ b/test/message.js @@ -38,17 +38,14 @@ describe('Message', function() { it('can verify a signed message', function() { assert.ok(Message.verify(addr, sig, message)) - assert.ok(Message.verify(caddr, csig, message)) }) it('will fail for the wrong message', function() { assert.ok(!Message.verify(addr, sig, 'foobar')) - assert.ok(!Message.verify(caddr, csig, 'foobar')) }) - it('will fail for the wrong public key', function() { + it('will fail for the wrong address', function() { assert.ok(!Message.verify('1MsHWS1BnwMc3tLE8G35UXsS58fKipzB7a', sig, message)) - assert.ok(!Message.verify('1Q1pE5vPGEEMqRcVRMbtBK842Y6Pzo6nK9', csig, message)) }) it('does not cross verify (compressed/uncompressed)', function() {