diff --git a/test/fixtures/p2pk.json b/test/fixtures/p2pk.json index ff0bbcd..7ede5f4 100644 --- a/test/fixtures/p2pk.json +++ b/test/fixtures/p2pk.json @@ -66,18 +66,6 @@ "exception": "Not enough data", "arguments": {} }, - { - "exception": "Not enough data", - "arguments": { - "input": "300602010002010001" - } - }, - { - "exception": "Not enough data", - "arguments": { - "signature": "300602010002010001" - } - }, { "description": "Non-canonical signature", "exception": "Expected property \"signature\" of type \\?isCanonicalScriptSignature, got Buffer", diff --git a/test/payments.js b/test/payments.js index 14382e5..5722d88 100644 --- a/test/payments.js +++ b/test/payments.js @@ -26,7 +26,7 @@ const u = require('./payments.utils') }) fixtures.invalid.forEach(function (f) { - it('throws ' + (f.description || f.exception), function () { + it('throws ' + f.exception + (f.description ? ('for ' + f.description) : ''), function () { const args = u.preform(f.arguments) assert.throws(function () {