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 2023/06/20 11:30:19 UTC
[incubator-pekko-http] branch main updated: fix a couple of compiler warnings (#193)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 5e82a0bc1 fix a couple of compiler warnings (#193)
5e82a0bc1 is described below
commit 5e82a0bc168644d5219b77877cbd337233aa3915
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Tue Jun 20 12:30:14 2023 +0100
fix a couple of compiler warnings (#193)
---
.../pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala | 1 -
.../org/apache/pekko/http/impl/engine/ws/ByteStringSinkProbe.scala | 2 +-
.../src/main/scala/org/apache/pekko/http/scaladsl/testkit/WSProbe.scala | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala b/http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala
index 1023168e0..25b5b68d4 100644
--- a/http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala
+++ b/http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala
@@ -33,7 +33,6 @@ import pekko.http.scaladsl.model.HttpMethods._
import pekko.http.scaladsl.model._
import pekko.http.scaladsl.model.headers._
import pekko.http.impl.util._
-import pekko.http.scaladsl.Http
import pekko.testkit._
class LowLevelOutgoingConnectionSpec extends PekkoSpecWithMaterializer with Inside {
diff --git a/http-core/src/test/scala/org/apache/pekko/http/impl/engine/ws/ByteStringSinkProbe.scala b/http-core/src/test/scala/org/apache/pekko/http/impl/engine/ws/ByteStringSinkProbe.scala
index 49df3ace7..5736c82f9 100644
--- a/http-core/src/test/scala/org/apache/pekko/http/impl/engine/ws/ByteStringSinkProbe.scala
+++ b/http-core/src/test/scala/org/apache/pekko/http/impl/engine/ws/ByteStringSinkProbe.scala
@@ -65,7 +65,7 @@ private[http] object ByteStringSinkProbe {
}
def expectNoBytes(): Unit = {
ensureRequested()
- probe.expectNoMsg()
+ probe.expectNoMessage()
}
def expectNoBytes(timeout: FiniteDuration): Unit = {
ensureRequested()
diff --git a/http-testkit/src/main/scala/org/apache/pekko/http/scaladsl/testkit/WSProbe.scala b/http-testkit/src/main/scala/org/apache/pekko/http/scaladsl/testkit/WSProbe.scala
index c33a04618..bf84113ca 100644
--- a/http-testkit/src/main/scala/org/apache/pekko/http/scaladsl/testkit/WSProbe.scala
+++ b/http-testkit/src/main/scala/org/apache/pekko/http/scaladsl/testkit/WSProbe.scala
@@ -143,7 +143,7 @@ object WSProbe {
case _ => throw new AssertionError(s"""Expected BinaryMessage("$bytes") but got TextMessage""")
}
- def expectNoMessage(): Unit = subscriber.expectNoMsg()
+ def expectNoMessage(): Unit = subscriber.expectNoMessage()
def expectNoMessage(max: FiniteDuration): Unit = subscriber.expectNoMessage(max)
def expectCompletion(): Unit = subscriber.expectComplete()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org