Skip to content

Commit

Permalink
Try to reproduce scalameta#478
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Jan 17, 2022
1 parent 9653a0e commit 5ee9060
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/shared/src/main/scala/munit/Issue478FrameworkSuite.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package munit

class Issue478FrameworkSuite extends FunSuite {
override def munitFlakyOK: Boolean = true
test("boom".flaky.fail) {
}
}

object Issue478FrameworkSuite
extends FrameworkTest(
classOf[Issue478FrameworkSuite],
"""|==> skipped munit.Issue478FrameworkSuite.boom - ignoring flaky test failure
|""".stripMargin
)
1 change: 1 addition & 0 deletions tests/shared/src/test/scala/munit/FrameworkSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class FrameworkSuite extends BaseFrameworkSuite {
AssertionsFrameworkSuite,
Issue179FrameworkSuite,
Issue285FrameworkSuite,
Issue478FrameworkSuite,
ScalaCheckExceptionFrameworkSuite,
BoxedFrameworkSuite
)
Expand Down

0 comments on commit 5ee9060

Please sign in to comment.