summaryrefslogtreecommitdiff
path: root/test/files/run/interpolationArgs.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/interpolationArgs.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/interpolationArgs.check')
-rw-r--r--test/files/run/interpolationArgs.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/interpolationArgs.check b/test/files/run/interpolationArgs.check
new file mode 100644
index 0000000000..155991e618
--- /dev/null
+++ b/test/files/run/interpolationArgs.check
@@ -0,0 +1,2 @@
+java.lang.IllegalArgumentException: wrong number of arguments for interpolated string
+java.lang.IllegalArgumentException: wrong number of arguments for interpolated string