Fix test
This commit is contained in:
parent
7f89909828
commit
dc1046d528
2
test.js
2
test.js
|
@ -15,7 +15,7 @@ describe("Key convertion", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should throw on invalid private key", 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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user