mirror of
https://github.com/irmen/prog8.git
synced 2026-04-21 17:16:33 +00:00
fix problematic characters that cause path errors on Windows
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user