tests: always use for, it testing style

This commit is contained in:
Daniel Cousens 2014-06-07 19:46:06 +10:00
parent 61b4216afb
commit f20ffec8b3
4 changed files with 20 additions and 13 deletions

View file

@ -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)