diff options
author | Martin Odersky <odersky@gmail.com> | 2011-10-11 15:57:13 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-10-11 15:57:13 +0000 |
commit | 4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c (patch) | |
tree | eb7e950c06aafbe100f5c7b329ffadf2597de7d1 /test/files/run | |
parent | 0ef5e8a64556974f52b5aa2a121687862429d1fd (diff) | |
download | scala-4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c.tar.gz scala-4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c.tar.bz2 scala-4b4acbd819599ca49b61cc1ef46d6cb8e8bf1d0c.zip |
Added check file for test.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/stringInterpolation.check | 2 | ||||
-rw-r--r-- | test/files/run/stringInterpolation.scala | 4 |
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 |