Fix secondary constructor tests for JS -- use non-zero fracitional part

This commit is contained in:
Zalim Bashorov
2015-05-26 21:50:27 +03:00
parent 3fe363e72b
commit f3f799aab5
2 changed files with 8 additions and 8 deletions
@@ -26,8 +26,8 @@ fun box(): String {
val b2 = B("hij", "klm", 2).toString()
if (b2 != "hij#klm2") return "fail5: $b2"
val b3 = B(123.0).toString()
if (b3 != "123.0#efg") return "fail6: $b3"
val b3 = B(123.1).toString()
if (b3 != "123.1#efg") return "fail6: $b3"
val b4 = B(x="test").toString()
if (b4 != "test#123") return "fail7: $b4"