Skip to content

Commit

Permalink
Add test to ensure that the hashCode is consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
BijenderKumar1 committed Jun 25, 2024
1 parent fd95baa commit fb1994a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ object DynamicValueSpec extends ZIOSpecDefault {
} @@ TestAspect.size(250) @@ TestAspect.ignore
),
suite("hashCode consistency")(
test("hashCode does not change across runs") {
test("hashCode does not change") {
val primitive1 = DynamicValue.Primitive(123, StandardType.IntType)
val hash1 = primitive1.hashCode()
val hash2 = primitive1.hashCode()
Expand Down

0 comments on commit fb1994a

Please sign in to comment.