From 1fba1ade13dac7cc785fb473401ec6a0a83857e4 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Tue, 3 Jul 2012 14:29:40 +0100 Subject: [PATCH] work around for KT-2356 --- libraries/stdlib/test/ListTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/stdlib/test/ListTest.kt b/libraries/stdlib/test/ListTest.kt index 3a55a3bccec..0b14f146020 100644 --- a/libraries/stdlib/test/ListTest.kt +++ b/libraries/stdlib/test/ListTest.kt @@ -35,9 +35,9 @@ class ListTest { test fun withIndices() { val data = arrayList("foo", "bar") - val withIndices = data.withIndices() + val wis = data.withIndices() var index = 0 - for (withIndex in withIndices) { + for (withIndex in wis) { assertEquals(withIndex._1, index) assertEquals(withIndex._2, data[index]) index++