From 6203e1a193e0f63379d94e79064e1953311037d9 Mon Sep 17 00:00:00 2001 From: David Gregory Date: Tue, 17 May 2022 19:18:46 +0100 Subject: [PATCH] Weaken show / equality laws due to collisions --- tests/shared/src/test/scala/cats/tests/HashMapSuite.scala | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/shared/src/test/scala/cats/tests/HashMapSuite.scala b/tests/shared/src/test/scala/cats/tests/HashMapSuite.scala index 53e9b164df..1ed855cca6 100644 --- a/tests/shared/src/test/scala/cats/tests/HashMapSuite.scala +++ b/tests/shared/src/test/scala/cats/tests/HashMapSuite.scala @@ -255,8 +255,6 @@ class HashMapSuite extends CatsSuite { forAll { (left: HashMap[Int, String], right: HashMap[Int, String]) => if (left.show === right.show) assert(left === right) - else - assert(left =!= right) } } @@ -264,8 +262,6 @@ class HashMapSuite extends CatsSuite { forAll { (left: HashMap[Int, String], right: HashMap[Int, String]) => if (left.toString == right.toString) assertEquals(left, right) - else - assertNotEquals(left, right) } } }