Skip to content

Commit 719ab83

Browse files
committed
Exclude new ecmascript tests from test suites
1 parent 0369510 commit 719ab83

File tree

1 file changed

+9
-2
lines changed
  • test-suites/src/commonTest/kotlin/io/github/optimumcode/json/schema/suite/draft2020_12

1 file changed

+9
-2
lines changed
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.optimumcode.json.schema.suite.draft2020_12
22

3-
import io.github.optimumcode.json.schema.suite.COMMON_FORMAT_FILTER
3+
import io.github.optimumcode.json.schema.suite.TestFilter
44
import io.github.optimumcode.json.schema.suite.runTestSuites
55
import io.kotest.core.spec.style.FunSpec
66

@@ -9,7 +9,14 @@ internal class TestSuite : FunSpec() {
99
init {
1010
runTestSuites(
1111
draftName = "draft2020-12",
12-
formatFilter = COMMON_FORMAT_FILTER,
12+
formatFilter =
13+
TestFilter(
14+
excludeSuites =
15+
mapOf(
16+
// Kotlin regex is not ECMA script
17+
"ecmascript-regex" to setOf(),
18+
),
19+
),
1320
)
1421
}
1522
}

0 commit comments

Comments
 (0)