Skip to content

Commit

Permalink
Update tests/src/test/scala/cats/tests/NonEmptySetSuite.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Filippo Mariotti <barambani@users.noreply.github.com>
  • Loading branch information
LukaJCB and barambani committed Aug 1, 2020
1 parent adf20fc commit 6973ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/test/scala/cats/tests/NonEmptySetSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class NonEmptySetSuite extends CatsSuite {
test("Show is not empty and is formatted as expected") {
forAll { (nes: NonEmptySet[Int]) =>
assert(nes.show.nonEmpty)
assert(nes.show.startsWith("NonEmptySortedSet(") === (true))
assert(nes.show.startsWith("NonEmptySortedSet("))
assert(nes.show === (implicitly[Show[NonEmptySet[Int]]].show(nes)))
assert(nes.show.contains(nes.head.show))
}
Expand Down

0 comments on commit 6973ad3

Please sign in to comment.