diff options
author | VladimirNik <vladimir.nikolaev9@gmail.com> | 2014-01-13 01:59:51 +0400 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2014-01-13 01:59:51 +0400 |
commit | d680d23947778a963ec23580efccbf2527f3a97c (patch) | |
tree | 41c8598efe14368a440bb45eeffe8cfb2d0778d9 /test | |
parent | 3989227e45a8b7f56da59b7ce674706b1e99279b (diff) | |
download | scala-d680d23947778a963ec23580efccbf2527f3a97c.tar.gz scala-d680d23947778a963ec23580efccbf2527f3a97c.tar.bz2 scala-d680d23947778a963ec23580efccbf2527f3a97c.zip |
toCode renamed to showCode
Diffstat (limited to 'test')
-rw-r--r-- | test/junit/scala/reflect/internal/PrintersTest.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/junit/scala/reflect/internal/PrintersTest.scala b/test/junit/scala/reflect/internal/PrintersTest.scala index 06b7205612..53ea3fd8a3 100644 --- a/test/junit/scala/reflect/internal/PrintersTest.scala +++ b/test/junit/scala/reflect/internal/PrintersTest.scala @@ -25,8 +25,8 @@ object PrinterHelper { } catch { case e:scala.tools.reflect.ToolBoxError => throw new Exception(e.getMessage + ": " + code) } - if (tree ne EmptyTree) assertEquals("using quasiquote or given tree"+"\n", code.trim, toCode(tree)) - else assertEquals("using toolbox parser", code.trim, toCode(toolboxTree)) + if (tree ne EmptyTree) assertEquals("using quasiquote or given tree"+"\n", code.trim, showCode(tree)) + else assertEquals("using toolbox parser", code.trim, showCode(toolboxTree)) } implicit class StrContextStripMarginOps(val stringContext: StringContext) extends util.StripMarginInterpolator |