Skip to content

Commit

Permalink
keep version specific tests behind FF.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimY4 committed Jan 23, 2025
1 parent dd84e77 commit 58622d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ lazy val core = (project in file("core"))
description := "A handy utility for generating strings that match given regular expression criteria.",
headerEndYear := Some(2025),
libraryDependencies ++= Seq(
"org.scalameta" %% "munit" % "1.0.4" % Test,
"org.scalameta" %% "munit" % "1.1.0" % Test,
"org.scalameta" %% "munit-scalacheck" % "1.0.0" % Test
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,12 @@ class CoregexParserSuite extends ScalaCheckSuite with CoregexArbitraries {
),
Pattern.compile("((?i)[a-z]+(?-i)-[A-Z]){3,6}"),
Pattern.compile("[a-z&&[^aeiou]]+[]][a-z&&aeiou&&ei]"),
Pattern.compile("\\N{WHITE SMILING FACE}"),
Pattern.compile("^(?:||)$")
)
) ::: (if (scala.util.Properties.isJavaAtLeast(9)) {
List(
Pattern.compile("\\N{WHITE SMILING FACE}")
)
} else Nil)
rng <- List(new RandomRNG())
} {
shouldParseExampleRegex(pattern, rng)
Expand Down

0 comments on commit 58622d0

Please sign in to comment.