This commit is contained in:
Kagami Hiiragi 2014-12-26 20:58:36 +03:00
parent 7f89909828
commit dc1046d528
1 changed files with 1 additions and 1 deletions

View File

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