[Tests] Trim contents before checking for FIR_IDENTICAL

This commit is contained in:
Kirill Rakhman
2023-09-05 17:02:39 +02:00
committed by Space Team
parent 6b919e2593
commit 10e94f90ac
11 changed files with 7 additions and 91 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// completion order here: X, Y, WHEN_VARIABLE
fun <T> List<T>.optimizeReadOnlyList() = when (size) {
0 -> emptyList() // here type variable Y will be fixed to Nothing