diff options
author | Paul Phillips <paulp@improving.org> | 2011-05-19 20:06:19 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-05-19 20:06:19 +0000 |
commit | 4afa092314487c0095ff9fd5756d05340f6150b0 (patch) | |
tree | d3cf421e67192041f78858fe10735505f4891b3c /test/files/jvm/xml04embed.scala | |
parent | 7595671ec3929aa4ac978826521300a900250214 (diff) | |
download | scala-4afa092314487c0095ff9fd5756d05340f6150b0.tar.gz scala-4afa092314487c0095ff9fd5756d05340f6150b0.tar.bz2 scala-4afa092314487c0095ff9fd5756d05340f6150b0.zip |
Removes SUnit (long deprecated!) from the stand...
Removes SUnit (long deprecated!) from the standard library.
the relatively small number of partest tests in Scala's suite that
were still using SUnit now either just use regular asserts, or they
print stuff that partest checks with a .check file. Also fixed some bad
indentation, removed ancient useless-looking commented-out code, etc.
Contributed by Seth Tisue (way to go seth) no review.
Diffstat (limited to 'test/files/jvm/xml04embed.scala')
-rw-r--r-- | test/files/jvm/xml04embed.scala | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/test/files/jvm/xml04embed.scala b/test/files/jvm/xml04embed.scala index 249e8ceb06..fa453e4295 100644 --- a/test/files/jvm/xml04embed.scala +++ b/test/files/jvm/xml04embed.scala @@ -1,15 +1,10 @@ -import scala.testing.SUnit._ - -object Test extends AnyRef with Assert { +object Test { def main(args: Array[String]) { val ya = <x>{{</x> - assertEquals(ya.text, "{") - + println(ya.text) val ua = <x>}}</x> - assertEquals(ua.text, "}") - + println(ua.text) val za = <x>{{}}{{}}{{}}</x> - assertEquals(za.text, "{}{}{}") - + println(za.text) } } |