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) } } }