From 73a93505c432b410ae39fb3c4d6168b2e49832ce Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 13 May 2015 12:08:27 +0200 Subject: Running rewrite tool on run tests. --- tests/pending/run/string-extractor.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/pending/run/string-extractor.scala') diff --git a/tests/pending/run/string-extractor.scala b/tests/pending/run/string-extractor.scala index c0fe911ff..7ab2c2eaa 100644 --- a/tests/pending/run/string-extractor.scala +++ b/tests/pending/run/string-extractor.scala @@ -34,14 +34,14 @@ object TripleBippy { object Test { def f(x: Any) = x match { - case Bippy('B' | 'b', 'O' | 'o', 'B' | 'b', xs @ _*) => xs + case Bippy('B' | 'b', 'O' | 'o', 'B' | 'b', xs : _*) => xs case _ => "nope" } def g(x: Any): String = x match { - case TripleBippy(3 :: Nil, 3.0, 'b', chars @ _*) => "1: " + chars - case TripleBippy(5 :: Nil, 5.0, 'b' | 'B', chars @ _*) => "2: " + chars - case TripleBippy(_, _, chars @ _*) => "3: " + chars + case TripleBippy(3 :: Nil, 3.0, 'b', chars : _*) => "1: " + chars + case TripleBippy(5 :: Nil, 5.0, 'b' | 'B', chars : _*) => "2: " + chars + case TripleBippy(_, _, chars : _*) => "3: " + chars case _ => "nope" } -- cgit v1.2.3