Skip to content

Commit

Permalink
Please Scala 2.11, 2.12, 2.13, 3.1 simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
valencik authored and tgodzik committed Jan 2, 2024
1 parent 6aff7ff commit 0d20dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion munit/shared/src/main/scala/munit/MUnitRunner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class MUnitRunner(val cls: Class[_ <: Suite], newInstance: () => Suite)
suite.afterAll()
}
private lazy val munitFixtures: List[AnyFixture[_]] =
suiteFixtureBefore :: suite.munitFixtures.appended(suiteFixtureAfter).toList
suiteFixtureBefore :: (suite.munitFixtures.toList ::: suiteFixtureAfter :: Nil)

override def filter(filter: Filter): Unit = {
val newTests = munitTests.filter { t =>
Expand Down

0 comments on commit 0d20dbc

Please sign in to comment.