summaryrefslogtreecommitdiff
path: root/test/files/jvm/xmlstuff.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/xmlstuff.scala')
-rw-r--r--test/files/jvm/xmlstuff.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/jvm/xmlstuff.scala b/test/files/jvm/xmlstuff.scala
index 8f3520c109..dd9e876fa5 100644
--- a/test/files/jvm/xmlstuff.scala
+++ b/test/files/jvm/xmlstuff.scala
@@ -3,7 +3,8 @@ import org.xml.sax.InputSource;
import scala.testing.UnitTest._ ;
import scala.xml.{Node, NodeSeq, Elem, Text, XML};
-object Test with Application {
+object Test {
+ def main(args:Array[String]) = {
//val e: scala.xml.MetaData = null; //Node.NoAttributes;
//val sc: scala.xml.NamespaceBinding = null;
@@ -204,4 +205,5 @@ DEPRECATED, don't support namespaces in pattern match anymore
assertEquals( vtor( <foo href="http://foo.com" /> ), false );
assertEquals( vtor( <foo bar="http://foo.com" /> ), true );
+ }
}