summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scalatexApi/src/test/scala/scalatex/ErrorTests.scala12
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(