Skip to content

Commit

Permalink
Fix tests for scala3 in native
Browse files Browse the repository at this point in the history
  • Loading branch information
Pask committed Apr 29, 2022
1 parent e4b2836 commit ee715b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package sttp.client3
import sttp.client3.testing.SyncHttpTest

class CurlBackendHttpTest extends SyncHttpTest {
override implicit lazy val backend: SttpBackend[Identity, Any] = CurlBackend(verbose = true)
override implicit val backend: SttpBackend[Identity, Any] = CurlBackend(verbose = true)
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package sttp.client3.testing

import org.scalatest.freespec.AnyFreeSpecLike
import sttp.client3._
import sttp.model.{Header, StatusCode}

import java.io.File
import java.nio.file.Files
import java.security.MessageDigest

trait SyncHttpTestExtensions {
trait SyncHttpTestExtensions extends AnyFreeSpecLike {
self: SyncHttpTest =>

// browsers do not allow access to redirect responses
Expand Down

0 comments on commit ee715b8

Please sign in to comment.