diff --git a/src/test/scala/com/fluency03/blockchain/core/BlockchainTest.scala b/src/test/scala/com/fluency03/blockchain/core/BlockchainTest.scala index 8cc8234..77e8dc7 100644 --- a/src/test/scala/com/fluency03/blockchain/core/BlockchainTest.scala +++ b/src/test/scala/com/fluency03/blockchain/core/BlockchainTest.scala @@ -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 {