From dc1046d5281dec5e904078de89da022b0880905d Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Fri, 26 Dec 2014 20:58:36 +0300 Subject: [PATCH] Fix test --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 7ff2c24..d6ffce8 100644 --- a/test.js +++ b/test.js @@ -15,7 +15,7 @@ describe("Key convertion", function() { }); it("should throw on invalid private key", function() { - expect(eccrypto.getPublic.bind(null, Buffer("test"))).to.throw(Error); + expect(eccrypto.getPublic.bind(null, Buffer("00", "hex"))).to.throw(Error); }); });