Skip to content

Commit

Permalink
Avoid deprecated / package-private concat in test
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbrown committed Nov 15, 2019
1 parent 12cfc54 commit d52979c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/test/scala/cats/tests/NonEmptyListSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class DeprecatedNonEmptyListSuite extends CatsSuite {

test("Deprecated NonEmptyList#concat is consistent with List#:::") {
forAll { (nel: NonEmptyList[Int], l: List[Int], n: Int) =>
nel.concat(NonEmptyList(n, l)).toList should ===(nel.toList ::: (n :: l))
nel.concatNel(NonEmptyList(n, l)).toList should ===(nel.toList ::: (n :: l))
}
}
}
Expand Down

0 comments on commit d52979c

Please sign in to comment.