You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/07/26 11:19:38 UTC
(pekko) branch 1.0.x updated: backport test fix for Scala3 (#1412)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch 1.0.x
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/1.0.x by this push:
new d1254c9ee6 backport test fix for Scala3 (#1412)
d1254c9ee6 is described below
commit d1254c9ee68070bcfe63fdbe60f9b5de30b58dce
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Fri Jul 26 12:19:32 2024 +0100
backport test fix for Scala3 (#1412)
---
.../src/test/scala-3/org/apache/pekko/util/LineNumberSpec.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/actor-tests/src/test/scala-3/org/apache/pekko/util/LineNumberSpec.scala b/actor-tests/src/test/scala-3/org/apache/pekko/util/LineNumberSpec.scala
index 0cebe23246..0cb668d49f 100644
--- a/actor-tests/src/test/scala-3/org/apache/pekko/util/LineNumberSpec.scala
+++ b/actor-tests/src/test/scala-3/org/apache/pekko/util/LineNumberSpec.scala
@@ -30,7 +30,7 @@ class LineNumberSpec extends PekkoSpec {
"work for larger functions" in {
val result = LineNumbers(twoline)
- result should ===(SourceFileLines("LineNumberSpecCodeForScala.scala", 24, 26))
+ result should ===(SourceFileLines("LineNumberSpecCodeForScala.scala", 25, 26))
}
"work for partial functions" in {
@@ -39,7 +39,7 @@ class LineNumberSpec extends PekkoSpec {
"work for `def`" in {
val result = LineNumbers(method("foo"))
- result should ===(SourceFileLines("LineNumberSpecCodeForScala.scala", 34, 36))
+ result should ===(SourceFileLines("LineNumberSpecCodeForScala.scala", 35, 36))
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org