Skip to content

Commit bbb45f6

Browse files
committed
nowarn
1 parent c1446c1 commit bbb45f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/test/scala/munit/CatsEffectSuiteSpec.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717
package munit
1818

1919
import cats.effect.{IO, SyncIO}
20+
import scala.annotation.nowarn
2021
import scala.concurrent.Future
2122
import scala.concurrent.duration._
2223

2324
class CatsEffectSuiteSpec extends CatsEffectSuite {
2425

2526
override def munitIOTimeout = 100.millis
27+
28+
@nowarn
2629
override def munitTimeout = Int.MaxValue.nanos // so only our timeout is in effect
2730

2831
test("times out".fail) { IO.sleep(1.second) }

0 commit comments

Comments
 (0)