fix problematic characters that cause path errors on Windows

This commit is contained in:
Irmen de Jong
2022-06-05 11:46:37 +02:00
parent 9e3e2ff81a
commit af2ca7a67e
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class TestSourceCode: AnnotationSpec() {
"""
val src = SourceCode.Text(text)
src.origin shouldContain Regex("^<String@[0-9a-f\\-]+>$")
src.origin shouldContain Regex("^string:[0-9a-f\\-]+$")
src.text shouldBe text
src.isFromResources shouldBe false
src.isFromFilesystem shouldBe false