tests: add failing pushDataInt fixtures

This commit is contained in:
Daniel Cousens 2015-03-04 20:32:08 +11:00
parent b13271477c
commit 2f100e0eae
6 changed files with 182 additions and 93 deletions

View file

@ -44,7 +44,7 @@ describe('Script', function () {
describe('getHash', function () {
fixtures.valid.forEach(function (f) {
it('produces a HASH160 of "' + f.asm + '"', function () {
it('produces a HASH160 of ' + f.description, function () {
var script = Script.fromHex(f.hex)
assert.equal(script.getHash().toString('hex'), f.hash)