adhere more closely to BIP66

This commit is contained in:
Daniel Cousens 2015-07-07 17:42:01 +10:00
parent db28cf2f0e
commit 92f9342c69
3 changed files with 52 additions and 24 deletions

View file

@ -66,7 +66,7 @@ describe('ECSignature', function () {
})
fixtures.invalid.DER.forEach(function (f) {
it('throws on ' + f.hex, function () {
it('throws "' + f.exception + '" for ' + f.hex, function () {
var buffer = new Buffer(f.hex, 'hex')
assert.throws(function () {