mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
[Commonizer] Improve AbstractCommonizerTest diagnostic message
This commit is contained in:
committed by
Space
parent
d7022cb378
commit
5ca81b01f0
@@ -28,8 +28,8 @@ abstract class AbstractCommonizerTest<T, R> {
|
||||
check(variants.isNotEmpty())
|
||||
|
||||
val commonized = createCommonizer().apply {
|
||||
variants.forEach {
|
||||
assertTrue(commonizeWith(it))
|
||||
variants.forEachIndexed { index, value ->
|
||||
assertTrue(commonizeWith(value), "Expected successful commonization, but failed at index $index ($value)")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user