Skip to content

Commit

Permalink
Try to appease CI
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Oct 17, 2017
1 parent 9a5d4ff commit 7a41804
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/test/scala/cats/tests/NonEmptyListTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import cats.data.{NonEmptyList, NonEmptyVector}
import cats.laws.discipline.arbitrary._
import cats.laws.discipline.{ComonadTests, NonEmptyTraverseTests, MonadTests, ReducibleTests, SemigroupKTests, SerializableTests}

@deprecated("to be able to test deprecated methods", since = "1.0.0-RC1")
class NonEmptyListTests extends CatsSuite {
// Lots of collections here.. telling ScalaCheck to calm down a bit
implicit override val generatorDrivenConfig: PropertyCheckConfiguration =
Expand Down Expand Up @@ -288,6 +289,7 @@ class NonEmptyListTests extends CatsSuite {
forAll { (nel: NonEmptyList[Int], l: List[Int], n: Int) =>
(nel ++ l).toList should === (nel.toList ::: l)
nel.concat(l).toList should === (nel.toList ::: l)
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 7a41804

Please sign in to comment.