Skip to content

Commit

Permalink
add length of Blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
fluency03 committed Apr 26, 2018
1 parent 40f40fb commit e461883
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BlockchainTest extends FlatSpec with Matchers {
val blockchainAdded = blockchainToAdd.addBlock(actual)
blockchainAdded.lastBlock().get shouldEqual expected
blockchainAdded.isValid shouldEqual true
blockchainToAdd.length shouldEqual 2
blockchainAdded.length shouldEqual 2
}

"Blockchain" should "have be validatable." in {
Expand Down

0 comments on commit e461883

Please sign in to comment.