From 0a1881d78e6ffcaa254a146c3e5de38948cdd105 Mon Sep 17 00:00:00 2001 From: pTalanov Date: Mon, 1 Oct 2012 20:15:49 +0400 Subject: [PATCH] Cosmetics refactoring in StringTest --- .../org/jetbrains/k2js/test/semantics/StringTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/js.tests/test/org/jetbrains/k2js/test/semantics/StringTest.java b/js/js.tests/test/org/jetbrains/k2js/test/semantics/StringTest.java index b08095423ab..10432222541 100644 --- a/js/js.tests/test/org/jetbrains/k2js/test/semantics/StringTest.java +++ b/js/js.tests/test/org/jetbrains/k2js/test/semantics/StringTest.java @@ -34,15 +34,15 @@ public final class StringTest extends AbstractExpressionTest { } public void testIntInTemplate() throws Exception { - runFunctionOutputTest("intInTemplate.kt", "foo", "box", "my age is 3"); + fooBoxIsValue("my age is 3"); } public void testStringInTemplate() throws Exception { - runFunctionOutputTest("stringInTemplate.kt", "foo", "box", "oHelloo"); + fooBoxIsValue("oHelloo"); } - public void testMultipleExpressionInTemplate() throws Exception { - runFunctionOutputTest("multipleExpressionsInTemplate.kt", "foo", "box", "left = 3\nright = 2\nsum = 5\n"); + public void testMultipleExpressionsInTemplate() throws Exception { + fooBoxIsValue("left = 3\nright = 2\nsum = 5\n"); } public void testObjectToStringCallInTemplate() throws Exception {