Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
47erbot authored Jan 13, 2025
1 parent 34cfe9f commit da70f08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.8.4
31437ca5e9dbc9d31fd10190094a2d341d625c6d
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.3
version = 3.8.4

style = defaultWithAlign
maxColumn = 100
Expand Down
4 changes: 2 additions & 2 deletions fetch-examples/src/test/scala/JedisExample.scala
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ case class RedisCache[F[_]: Sync](host: String) extends DataCache[F] {

private def bulkSet(ivs: List[(Array[Byte], Array[Byte])]): F[Unit] =
connection.use(c =>
Sync[F].delay({
Sync[F].delay {
val pipe = c.pipelined
ivs.foreach(i => pipe.set(i._1, i._2))
pipe.sync
})
}
)

private def cacheId[I, A](i: I, data: Data[I, A]): Array[Byte] =
Expand Down
3 changes: 1 addition & 2 deletions fetch/src/test/scala/FetchTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ class FetchTests extends FetchSpec {
Fetch.run[IO](fetch).map(_ shouldEqual 42).unsafeToFuture()
}

"We can lift values which have a Data Source to Fetch" in {
"We can lift values which have a Data Source to Fetch" in
Fetch.run[IO](one(1)).map(_ shouldEqual 1).unsafeToFuture()
}

"We can map over Fetch values" in {
def fetch[F[_]: Concurrent]: Fetch[F, (Int)] =
Expand Down

0 comments on commit da70f08

Please sign in to comment.