[Commonizer] Improve AbstractCommonizerTest diagnostic message
This commit is contained in:
committed by
Space
parent
d7022cb378
commit
5ca81b01f0
+2
-2
@@ -28,8 +28,8 @@ abstract class AbstractCommonizerTest<T, R> {
|
|||||||
check(variants.isNotEmpty())
|
check(variants.isNotEmpty())
|
||||||
|
|
||||||
val commonized = createCommonizer().apply {
|
val commonized = createCommonizer().apply {
|
||||||
variants.forEach {
|
variants.forEachIndexed { index, value ->
|
||||||
assertTrue(commonizeWith(it))
|
assertTrue(commonizeWith(value), "Expected successful commonization, but failed at index $index ($value)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user