summaryrefslogtreecommitdiff
path: root/test/files/run/interpolation.check
diff options
context:
space:
mode:
authorDaniel C. Sobral <dcsobral@gmail.com>2012-01-17 17:26:59 -0200
committerDaniel C. Sobral <dcsobral@gmail.com>2012-01-17 17:26:59 -0200
commit76caa37f22b70b126563df8a5eeab1b8bf693fc9 (patch)
tree2480da56cb8bebd0aa2843e1c9b87c41957bd226 /test/files/run/interpolation.check
parent9d55bf45cd13107ad8f3e5e75737f37e75b22f90 (diff)
downloadscala-76caa37f22b70b126563df8a5eeab1b8bf693fc9.tar.gz
scala-76caa37f22b70b126563df8a5eeab1b8bf693fc9.tar.bz2
scala-76caa37f22b70b126563df8a5eeab1b8bf693fc9.zip
Fix check for number of arguments
Fix the test for number of arguments by passing all arguments instead of passing the argument list as a single argument. Add positive and negative tests for it.
Diffstat (limited to 'test/files/run/interpolation.check')
-rw-r--r--test/files/run/interpolation.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/interpolation.check b/test/files/run/interpolation.check
index 4c34e4c8c8..09579a800a 100644
--- a/test/files/run/interpolation.check
+++ b/test/files/run/interpolation.check
@@ -2,14 +2,20 @@ Bob is 1 years old
Bob is 1 years old
Bob will be 2 years old
Bob will be 2 years old
+1+1 = 2
+1+1 = 2
Bob is 12 years old
Bob is 12 years old
Bob will be 13 years old
Bob will be 13 years old
+12+1 = 13
+12+1 = 13
Bob is 123 years old
Bob is 123 years old
Bob will be 124 years old
Bob will be 124 years old
+123+1 = 124
+123+1 = 124
Best price: 10.0
Best price: 10.00
10.0% discount included