Skip to content

Commit 1de6c0e

Browse files
committed
Fix multiline string indentation
1 parent 17a66c4 commit 1de6c0e

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/test/kotlin/framework/test-util.kt

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -155,37 +155,37 @@ fun <T> assertEqualsUnordered(expected: Collection<T>, actual: Collection<T>) {
155155

156156
if (notExpected.isNotEmpty() && notFound.isNotEmpty()) {
157157
val message = """|
158-
|Expecting actual:
159-
| $actual
160-
|to contain exactly in any order:
161-
| $expected
162-
|elements not found:
163-
| $notFound
164-
|and elements not expected:
165-
| $notExpected
166-
""".trimMargin()
158+
|Expecting actual:
159+
| $actual
160+
|to contain exactly in any order:
161+
| $expected
162+
|elements not found:
163+
| $notFound
164+
|and elements not expected:
165+
| $notExpected
166+
""".trimMargin()
167167
throw AssertionFailedError(message, expected, actual)
168168
}
169169
if (notFound.isNotEmpty()) {
170170
val message = """|
171-
|Expecting actual:
172-
| $actual
173-
|to contain exactly in any order:
174-
| $expected
175-
|but could not find the following elements:
176-
| $notFound
177-
""".trimMargin()
171+
|Expecting actual:
172+
| $actual
173+
|to contain exactly in any order:
174+
| $expected
175+
|but could not find the following elements:
176+
| $notFound
177+
""".trimMargin()
178178
throw AssertionFailedError(message, expected, actual)
179179
}
180180
if (notExpected.isNotEmpty()) {
181181
val message = """|
182-
|Expecting actual:
183-
| $actual
184-
|to contain exactly in any order:
185-
| $expected
186-
|but the following elements were unexpected:
187-
| $notExpected
188-
""".trimMargin()
182+
|Expecting actual:
183+
| $actual
184+
|to contain exactly in any order:
185+
| $expected
186+
|but the following elements were unexpected:
187+
| $notExpected
188+
""".trimMargin()
189189
throw AssertionFailedError(message, expected, actual)
190190
}
191191
}

0 commit comments

Comments
 (0)