Skip to content

Commit

Permalink
Update scalafmt-core to 3.7.5 (#1876)
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremill-ci authored Jun 30, 2023
1 parent eaadfb1 commit c1046cd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ aa1d709eba0652b405782a226fe4a73406dc192f
e7ed7720a3ae4389c4b755b476e94bafb26ba694
# Scala Steward: Reformat with scalafmt 3.7.3
b364558c7d44d6c21f1532d618707cc7ca1e4148

# Scala Steward: Reformat with scalafmt 3.7.5
5c45ddcfbb2db36c3f9ad3dd9468d4089bca7d3b
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.4
version = 3.7.5
maxColumn = 120
rewrite.rules = [RedundantBraces, RedundantParens, SortImports]
runner.dialect = scala3
5 changes: 4 additions & 1 deletion core/src/test/scala/sttp/client4/ToCurlConverterTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ class ToCurlConverterTest extends AnyFlatSpec with Matchers with ToCurlConverter
)
}
it should "hide Accept-Encoding header when asked when converting request with custom sensitive header" in {
basicRequest.header("X-Auth", "xyzabc").get(localhost).toCurl(Set("X-Auth"), omitAcceptEncoding = true) shouldNot include(
basicRequest
.header("X-Auth", "xyzabc")
.get(localhost)
.toCurl(Set("X-Auth"), omitAcceptEncoding = true) shouldNot include(
"""--header 'Accept-Encoding: """
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import sttp.client4.internal.httpclient.{BodyFromHttpClient, BodyToHttpClient, S
import sttp.client4.internal.ws.SimpleQueue
import sttp.client4.testing.WebSocketStreamBackendStub
import sttp.client4.wrappers.FollowRedirectsBackend
import sttp.client4.{BackendOptions, GenericRequest, Response, WebSocketStreamBackend, wrappers}
import sttp.client4.{wrappers, BackendOptions, GenericRequest, Response, WebSocketStreamBackend}
import sttp.monad.MonadError
import zio.Chunk.ByteArray
import zio._
Expand Down

0 comments on commit c1046cd

Please sign in to comment.