summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-10-11 15:57:13 +0000
committerMartin Odersky <odersky@gmail.com>2011-10-11 15:57:13 +0000
commit4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c (patch)
treeeb7e950c06aafbe100f5c7b329ffadf2597de7d1 /test/files
parent0ef5e8a64556974f52b5aa2a121687862429d1fd (diff)
downloadscala-4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c.tar.gz
scala-4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c.tar.bz2
scala-4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c.zip
Added check file for test.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/stringInterpolation.check2
-rw-r--r--test/files/run/stringInterpolation.scala4
2 files changed, 3 insertions, 3 deletions
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