tests: add failing pushDataInt fixtures
This commit is contained in:
parent
b13271477c
commit
2f100e0eae
6 changed files with 182 additions and 93 deletions
test
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue