diff options
Diffstat (limited to 'test/files')
-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 |