tests: use JSON fixtures exclusively
This commit is contained in:
parent
0fcda5835e
commit
b2351f9026
26 changed files with 152 additions and 155 deletions
test
|
@ -6,7 +6,7 @@ var Address = require('../src/address')
|
|||
var ECPubKey = require('../src/ecpubkey')
|
||||
var Script = require('../src/script')
|
||||
|
||||
var fixtures = require('./fixtures/script')
|
||||
var fixtures = require('./fixtures/script.json')
|
||||
|
||||
function b2h(b) { return new Buffer(b).toString('hex') }
|
||||
function h2b(h) { return new Buffer(h, 'hex') }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue