diff options
author | Li Haoyi <haoyi@dropbox.com> | 2014-11-01 11:21:31 -0700 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2014-11-01 11:21:31 -0700 |
commit | e769a257ffa3256e1c4db67d48b54137ed57106c (patch) | |
tree | 1fe722852a85a70b6264d89fac3f85f060b87c90 /scalatexApi | |
parent | 02099a8b3bcedc63052306b85aad09dbfa719464 (diff) | |
download | hands-on-scala-js-e769a257ffa3256e1c4db67d48b54137ed57106c.tar.gz hands-on-scala-js-e769a257ffa3256e1c4db67d48b54137ed57106c.tar.bz2 hands-on-scala-js-e769a257ffa3256e1c4db67d48b54137ed57106c.zip |
added another test
Diffstat (limited to 'scalatexApi')
-rw-r--r-- | scalatexApi/src/test/scala/scalatex/ErrorTests.scala | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scalatexApi/src/test/scala/scalatex/ErrorTests.scala b/scalatexApi/src/test/scala/scalatex/ErrorTests.scala index e377965..480d849 100644 --- a/scalatexApi/src/test/scala/scalatex/ErrorTests.scala +++ b/scalatexApi/src/test/scala/scalatex/ErrorTests.scala @@ -170,8 +170,16 @@ object ErrorTests extends TestSuite{ """ twRuntimeErrors("@Nil.map{(x: Int, y: String) => omg}"), ^ - """ - ) + """ + ) + * - check( + twRuntimeErrors("@Nil.map{ omg}"), + "too many arguments for method map", + """ + twRuntimeErrors("@Nil.map{ omg}"), + ^ + """ + ) } 'callContents{ * - check( |