diff --git a/semantic/src/test/kotlin/tools/samt/semantic/SemanticModelTest.kt b/semantic/src/test/kotlin/tools/samt/semantic/SemanticModelTest.kt index 2baf6e80..042405f4 100644 --- a/semantic/src/test/kotlin/tools/samt/semantic/SemanticModelTest.kt +++ b/semantic/src/test/kotlin/tools/samt/semantic/SemanticModelTest.kt @@ -345,8 +345,8 @@ class SemanticModelTest { """.trimIndent() parseAndCheck( source to listOf( - "Error: Invalid regex pattern: 'Dangling meta character '+' near index 5\n" + - "fo/+++!hi\n" + + "Error: Invalid regex pattern: 'Dangling meta character '+' near index 5${System.lineSeparator()}" + + "fo/+++!hi${System.lineSeparator()}" + " ^'" ) )