File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed
src/test/kotlin/framework Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -155,37 +155,37 @@ fun <T> assertEqualsUnordered(expected: Collection<T>, actual: Collection<T>) {
155
155
156
156
if (notExpected.isNotEmpty() && notFound.isNotEmpty()) {
157
157
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()
167
167
throw AssertionFailedError (message, expected, actual)
168
168
}
169
169
if (notFound.isNotEmpty()) {
170
170
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()
178
178
throw AssertionFailedError (message, expected, actual)
179
179
}
180
180
if (notExpected.isNotEmpty()) {
181
181
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()
189
189
throw AssertionFailedError (message, expected, actual)
190
190
}
191
191
}
You can’t perform that action at this time.
0 commit comments