Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Fix hashCode test with latest model snapshop
Browse files Browse the repository at this point in the history
  • Loading branch information
tdauth committed Jan 22, 2019
1 parent baeef3d commit c2e3bf3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class GuiStateMachineImplSpec extends AbstractApiSpec with BeforeAndAfterEach {
s0.equals(s0Equal) shouldBe true
s0.hashCode() shouldEqual s0Equal.hashCode()
differentState.equals(s0) shouldBe false
// TODO There is a bug in the current retest-model. The hashCode is not calculated considering the contained components.
//differentState.hashCode() should not equal s0.hashCode()
differentState.hashCode() should not equal s0.hashCode()
sut.getAllStates.size shouldEqual 0
sut.getState(s0)
sut.getAllStates.size shouldEqual 1
Expand Down

0 comments on commit c2e3bf3

Please sign in to comment.