From e769a257ffa3256e1c4db67d48b54137ed57106c Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sat, 1 Nov 2014 11:21:31 -0700 Subject: added another test --- scalatexApi/src/test/scala/scalatex/ErrorTests.scala | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'scalatexApi/src') 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( -- cgit v1.2.3