summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/ReplacementMatching.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/ReplacementMatching.scala b/test/files/run/ReplacementMatching.scala
index 64a912392b..30c525b63c 100644
--- a/test/files/run/ReplacementMatching.scala
+++ b/test/files/run/ReplacementMatching.scala
@@ -15,7 +15,7 @@ object Test {
def replacementMatching {
val regex = """\$\{(.+?)\}""".r
- val replaced = regex.replaceAllMatchDataIn("Replacing: ${main}. And another method: ${foo}.",
+ val replaced = regex.replaceAllMatchesIn("Replacing: ${main}. And another method: ${foo}.",
(m: util.matching.Regex.Match) => {
val identifier = m.group(1)
identifier