From 7b0f0a142bb526f4bd108a8c208ec9a8952398c9 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Mon, 4 Jun 2012 13:53:13 +0200 Subject: repairs the tests after the refactoring spree --- test/files/run/t5273_2b_newpatmat.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/run/t5273_2b_newpatmat.scala (limited to 'test/files/run/t5273_2b_newpatmat.scala') diff --git a/test/files/run/t5273_2b_newpatmat.scala b/test/files/run/t5273_2b_newpatmat.scala new file mode 100644 index 0000000000..31afd7e2ba --- /dev/null +++ b/test/files/run/t5273_2b_newpatmat.scala @@ -0,0 +1,10 @@ +import scala.reflect.runtime.universe._ +import scala.tools.reflect.Eval + +object Test extends App { + reify { + val RegexParser = """(.*) \d+([A-Z]+) \| (.*) \|.*""".r + val RegexParser(name, shortname, value) = "American Dollar 1USD | 2,8567 | sometext" + println("name = %s, shortname = %s, value = %s".format(name, shortname, value)) + }.eval +} \ No newline at end of file -- cgit v1.2.3