Skip to content

Commit 9857c1e

Browse files
committed
Move test to 2.13+
1 parent 0345999 commit 9857c1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/shared/src/test/scala-2.13+/cats/tests/ScalaVersionSpecific.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ trait ScalaVersionSpecificFoldableSuite { self: FoldableSuiteAdditional =>
121121
assert((1 #:: boomLazyList[Int]).findM[Id](_ > 0) == Some(1))
122122
assert((1 #:: boomLazyList[Int]).collectFirstSomeM[Id, Int](Option.apply) == Some(1))
123123
}
124+
125+
test("#4244 ambiguous `contains_` syntax") {
126+
assertEquals(List("a").map(List("a").contains_), List(true))
127+
}
124128
}
125129

126130
trait ScalaVersionSpecificParallelSuite { self: ParallelSuite =>

tests/shared/src/test/scala/cats/tests/RegressionSuite.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,4 @@ class RegressionSuite extends CatsSuite with ScalaVersionSpecificRegressionSuite
203203
val program = StateT.modify[Either[Throwable, *], Int](_ + 1).reject { case _ if false => new Throwable }
204204
assert(program.runS(0).toOption === (Some(1)))
205205
}
206-
207-
test("#4244 ambiguous `contains_` syntax") {
208-
assertEquals(List("a").map(List("a").contains_), List(true))
209-
}
210206
}

0 commit comments

Comments
 (0)