diff options
author | Daniel C. Sobral <dcsobral@gmail.com> | 2012-01-17 17:26:59 -0200 |
---|---|---|
committer | Daniel C. Sobral <dcsobral@gmail.com> | 2012-01-17 17:26:59 -0200 |
commit | 76caa37f22b70b126563df8a5eeab1b8bf693fc9 (patch) | |
tree | 2480da56cb8bebd0aa2843e1c9b87c41957bd226 /test/files/run/interpolationArgs.check | |
parent | 9d55bf45cd13107ad8f3e5e75737f37e75b22f90 (diff) | |
download | scala-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.check | 2 |
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 |