summaryrefslogtreecommitdiff
path: root/scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala')
-rw-r--r--scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala16
1 files changed, 4 insertions, 12 deletions
diff --git a/scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala b/scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala
index 4e69bc2..a7ceead 100644
--- a/scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala
+++ b/scalatexApi/src/test/scala/scalaparser/SyntaxTest.scala
@@ -261,18 +261,10 @@ object SyntaxTest extends TestSuite{
)
* - check(
"""
- |object SyntaxTest extends TestSuite{
- | def check[T](input: String) = {
- | new ScalaSyntax(input).CompilationUnit.run() match{
- | case Failure(f: ParseError) =>
- | println(f.position)
- | println(f.formatExpectedAsString)
- | println(f.formatTraces)
- | throw new Exception(f.position + "\t" + f.formatTraces)
- | case Success(parsed) =>
- | assert(parsed == input)
- | }
- | }
+ |object Foo{
+ | val a = d // g
+ | val b = e // h
+ | val c = f
|}
""".stripMargin
)