removed bogus test case for KT-2355 which isn't an issue any more
This commit is contained in:
@@ -22,10 +22,6 @@ public final class StringTemplatesTest extends AbstractExpressionTest {
|
|||||||
super("stringTemplates/");
|
super("stringTemplates/");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TODO_testObjectWithExtensionToString() throws Exception {
|
|
||||||
fooBoxIsValue("a = abcX, b = defX");
|
|
||||||
}
|
|
||||||
|
|
||||||
public void testObjectWithToString() throws Exception {
|
public void testObjectWithToString() throws Exception {
|
||||||
fooBoxIsValue("a = abcS, b = defS");
|
fooBoxIsValue("a = abcS, b = defS");
|
||||||
}
|
}
|
||||||
|
|||||||
-15
@@ -1,15 +0,0 @@
|
|||||||
package foo
|
|
||||||
|
|
||||||
class Foo(val name: String) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public fun Foo.toString(): String {
|
|
||||||
return name + "X"
|
|
||||||
}
|
|
||||||
|
|
||||||
fun box(): String {
|
|
||||||
val a = Foo("abc")
|
|
||||||
val b = Foo("def")
|
|
||||||
val message = "a = $a, b = $b"
|
|
||||||
return message
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user