tests: add more test fixtures for blocks

This commit is contained in:
Daniel Cousens 2015-12-08 18:50:46 +11:00
parent 723c2fe37a
commit 15227d39bf
2 changed files with 42 additions and 10 deletions

View file

@ -52,7 +52,7 @@ describe('Block', function () {
block = Block.fromHex(f.hex)
})
it('calculates ' + f.hash + ' for the block: ' + f.description, function () {
it('returns ' + f.hash + ' for the block: ' + f.description, function () {
assert.strictEqual(block.getHash().toString('hex'), f.hash)
})
})
@ -66,7 +66,7 @@ describe('Block', function () {
block = Block.fromHex(f.hex)
})
it('calculates ' + f.id + ' for the block: ' + f.description, function () {
it('returns ' + f.id + ' for the block: ' + f.description, function () {
assert.strictEqual(block.getId(), f.id)
})
})

File diff suppressed because one or more lines are too long