File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
jvm/selfie-lib/src/commonTest/kotlin/com/diffplug/selfie Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2023-2024 DiffPlug
2
+ * Copyright (C) 2023-2025 DiffPlug
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -96,21 +96,15 @@ class SnapshotValueReaderTest {
96
96
╔═ test with \┌\─ ascii art \─\┐ in name ═╗
97
97
"""
98
98
.trimIndent())
99
- reader.peekKey() shouldBe " test with [ square brackets] in name"
99
+ reader.peekKey() shouldBe " test with \\ ( square brackets\\ ) in name"
100
100
reader.nextValue().valueString() shouldBe " "
101
- reader.peekKey() shouldBe """ test with \backslash\ in name"""
101
+ reader.peekKey() shouldBe """ test with \\ backslash\ \ in name"""
102
102
reader.nextValue().valueString() shouldBe " "
103
- reader.peekKey() shouldBe
104
- """
105
- test with
106
- newline
107
- in name
108
- """
109
- .trimIndent()
103
+ reader.peekKey() shouldBe " test with\\ nnewline\\ nin name"
110
104
reader.nextValue().valueString() shouldBe " "
111
- reader.peekKey() shouldBe " test with \t tab\t in name"
105
+ reader.peekKey() shouldBe " test with \\ ttab\ \ t in name"
112
106
reader.nextValue().valueString() shouldBe " "
113
- reader.peekKey() shouldBe " test with ╔═ ascii art ═╗ in name"
107
+ reader.peekKey() shouldBe " test with \\ ┌ \\ ─ ascii art \\ ─ \\ ┐ in name"
114
108
reader.nextValue().valueString() shouldBe " "
115
109
}
116
110
You can’t perform that action at this time.
0 commit comments