Skip to content

Commit

Permalink
enabled more tests now that KT-2520 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Aug 3, 2012
1 parent 0e4a866 commit 713a2d3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions libraries/stdlib/test/language/RangeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,19 @@ class RangeTest {
val range = 0.upto(9)
println("Have created up range: $range")
assertEquals(10, range.size)
/*
TODO runtime bug: java.lang.NoSuchMethodError: jet.IntRange.contains(I)Z
at language.RangeTest.ranges(RangeTest.kt:11)
see http://youtrack.jetbrains.com/issue/KT-2520
assertTrue(range.contains(0))
assertTrue(range.contains(1))
assertTrue(range.contains(9))
assertFalse(range.contains(10))
*/
}

test fun downRange() {
val range = 9.downto(0)
println("Have created down range: $range")
assertEquals(10, range.size)
/*
TODO runtime bug: java.lang.NoSuchMethodError: jet.IntRange.contains(I)Z
at language.RangeTest.ranges(RangeTest.kt:11)
see http://youtrack.jetbrains.com/issue/KT-2520
assertTrue(range.contains(0))
assertTrue(range.contains(1))
assertTrue(range.contains(9))
assertFalse(range.contains(10))
*/
}
}

0 comments on commit 713a2d3

Please sign in to comment.