diff options
Diffstat (limited to 'scalatexApi/src/test/scala/scalatex/ErrorTests.scala')
-rw-r--r-- | scalatexApi/src/test/scala/scalatex/ErrorTests.scala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scalatexApi/src/test/scala/scalatex/ErrorTests.scala b/scalatexApi/src/test/scala/scalatex/ErrorTests.scala index 82976eb..0935337 100644 --- a/scalatexApi/src/test/scala/scalatex/ErrorTests.scala +++ b/scalatexApi/src/test/scala/scalatex/ErrorTests.scala @@ -161,7 +161,7 @@ object ErrorTests extends TestSuite{ """ ) } -// 'curlies{ + 'curlies{ * - check( twRuntimeErrors("@p{@Seq(1, 2, 3).foldLeft(0)}"), "missing arguments for method foldLeft", @@ -170,21 +170,21 @@ object ErrorTests extends TestSuite{ ^ """ ) -// + * - check( twRuntimeErrors("@Nil.foldLeft{XY}"), "missing arguments for method foldLeft", """ twRuntimeErrors("@Nil.foldLeft{XY}"), - ^ + ^ """ ) -// + // * - check( -// twRuntimeErrors("@Nil.map{(x: Int, y: String) => omg}"), +// twRuntimeErrors("@Seq(1).map{(y: String) => omg}"), // "type mismatch", // """ -// twRuntimeErrors("@Nil.map{(x: Int, y: String) => omg}"), +// twRuntimeErrors("@Seq(1).map{(y: String) => omg}"), // ^ // """ // ) @@ -368,6 +368,6 @@ object ErrorTests extends TestSuite{ // ^ // """ // ) -// } + } } } |