aboutsummaryrefslogtreecommitdiff
path: root/tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala')
-rw-r--r--tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala b/tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala
index 6137ed2..4e03fc2 100644
--- a/tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala
+++ b/tests/src/test/scala/com/softwaremill/sttp/IllTypedTests.scala
@@ -12,7 +12,7 @@ class IllTypedTests extends FlatSpec with Matchers {
import com.softwaremill.sttp._
import akka.stream.scaladsl.Source
import akka.util.ByteString
- implicit val sttpHandler = HttpURLConnectionSttpHandler
+ implicit val sttpHandler = HttpURLConnectionHandler
sttp.get(uri"http://example.com").response(asStream[Source[ByteString, Any]]).send()
""")
}
@@ -25,7 +25,7 @@ class IllTypedTests extends FlatSpec with Matchers {
val thrown = intercept[ToolBoxError] {
EvalScala("""
import com.softwaremill.sttp._
- implicit val sttpHandler = HttpURLConnectionSttpHandler
+ implicit val sttpHandler = HttpURLConnectionHandler
sttp.send()
""")
}