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 e401ebe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/shared/src/main/scala/munit/Issue478FrameworkSuite.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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 e401ebe

Please sign in to comment.