From 4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 11 Oct 2011 15:57:13 +0000 Subject: Added check file for test. --- test/files/run/stringInterpolation.check | 2 ++ test/files/run/stringInterpolation.scala | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 test/files/run/stringInterpolation.check (limited to 'test/files') diff --git a/test/files/run/stringInterpolation.check b/test/files/run/stringInterpolation.check new file mode 100644 index 0000000000..b5b63343a8 --- /dev/null +++ b/test/files/run/stringInterpolation.check @@ -0,0 +1,2 @@ +1 plus 1 is 2 +We have a 1.10% chance of success diff --git a/test/files/run/stringInterpolation.scala b/test/files/run/stringInterpolation.scala index 9c6c5963ae..d88f5f6889 100644 --- a/test/files/run/stringInterpolation.scala +++ b/test/files/run/stringInterpolation.scala @@ -1,6 +1,4 @@ -package test - -object stringInterpolation { +object Test { def main(args : Array[String]) : Unit = { println("\{1} plus \{1} is \{1 + 1}") val x = 1.1 -- cgit v1.2.3