From b242cae5ff0049a7151e918f85b3a1875d0027f9 Mon Sep 17 00:00:00 2001 From: Adrien Piquerez Date: Thu, 20 Jul 2023 15:38:56 +0200 Subject: [PATCH] fix test --- .../debugadapter/internal/RuntimeEvaluatorTests.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/tests/src/test/scala/ch/epfl/scala/debugadapter/internal/RuntimeEvaluatorTests.scala b/modules/tests/src/test/scala/ch/epfl/scala/debugadapter/internal/RuntimeEvaluatorTests.scala index f55ab588c..1424846ef 100644 --- a/modules/tests/src/test/scala/ch/epfl/scala/debugadapter/internal/RuntimeEvaluatorTests.scala +++ b/modules/tests/src/test/scala/ch/epfl/scala/debugadapter/internal/RuntimeEvaluatorTests.scala @@ -1030,22 +1030,22 @@ class Scala31RuntimeEvaluatorTests extends RuntimeEvaluatorTests(ScalaVersion.`3 |object Main { | def main(args: Array[String]): Unit = { | val x = "x1" - | def m(): String = { + | def m1(): String = { | println(x) // captures x = "x1" | val y = { | val x = "x2" | val z = { | val x = "x3" - | def m(): String = { + | def m2(): String = { | x // captures x = "x3" | } - | m() + | m2() | } | z | } | y | } - | println(m()) + | println(m1()) | } |} |""".stripMargin