Fix broken test (#1208)

This commit is contained in:
Islon Scherer
2025-09-17 22:53:15 +02:00
committed by GitHub
parent fdc501a35c
commit 222741dccd

View File

@@ -41,6 +41,8 @@ class ParserComparisonTest {
compare(snippet, path, softly) compare(snippet, path, softly)
} catch (e: GenericParserError) { } catch (e: GenericParserError) {
softly.fail("path: $path. Message: ${e.message}", e) softly.fail("path: $path. Message: ${e.message}", e)
} catch (e: ParserError) {
softly.fail("path: $path. Message: ${e.message}", e)
} }
} }
} }
@@ -106,6 +108,7 @@ class ParserComparisonTest {
"notAUnionDefault.pkl", "notAUnionDefault.pkl",
"multipleDefaults.pkl", "multipleDefaults.pkl",
"modules/invalidModule1.pkl", "modules/invalidModule1.pkl",
"singleBacktick.pkl",
) )
private val regexExceptions = private val regexExceptions =