tests: always use for, it testing style
This commit is contained in:
parent
61b4216afb
commit
f20ffec8b3
4 changed files with 20 additions and 13 deletions
test
|
@ -36,8 +36,8 @@ describe('Script', function() {
|
|||
})
|
||||
|
||||
describe('getHash', function() {
|
||||
it('matches the test vectors', function() {
|
||||
fixtures.valid.forEach(function(f) {
|
||||
fixtures.valid.forEach(function(f) {
|
||||
it('produces a HASH160 of \"' + f.asm + '\"', 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