diff --git a/tests/jvm/src/test/scala/munit/TimeoutSuite.scala b/tests/jvm/src/test/scala/munit/TimeoutSuite.scala index f5a13510..6b639203 100644 --- a/tests/jvm/src/test/scala/munit/TimeoutSuite.scala +++ b/tests/jvm/src/test/scala/munit/TimeoutSuite.scala @@ -7,6 +7,11 @@ import scala.concurrent.duration.FiniteDuration class TimeoutSuite extends munit.FunSuite { override val munitTimeout: FiniteDuration = Duration(100, "ms") + test("fast") { + Future { + Thread.sleep(1) + } + } test("slow".fail) { Future { Thread.sleep(1000) @@ -26,9 +31,4 @@ class TimeoutSuite extends munit.FunSuite { } } } - test("fast") { - Future { - Thread.sleep(1) - } - } }