Skip to content

Commit

Permalink
Remove "Chain#hashCode is consistent with List#hashCode"
Browse files Browse the repository at this point in the history
  • Loading branch information
rossabaker committed Feb 21, 2025
1 parent 87b2a4a commit 1be66aa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/shared/src/test/scala/cats/tests/ChainSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,6 @@ class ChainSuite extends CatsSuite {
}
}

test("Chain#hashCode is consistent with List#hashCode") {
forAll { (x: Chain[Int]) =>
assert(x.hashCode === (x.toList.hashCode))
}
}

test("Chain#takeWhile is consistent with List#takeWhile") {
forAll { (x: Chain[Int], p: Int => Boolean) =>
assert(x.takeWhile(p).toList === (x.toList.takeWhile(p)))
Expand Down

0 comments on commit 1be66aa

Please sign in to comment.