Skip to content

Commit dca0dc1

Browse files
authored
Update scalafmt-core to 3.0.5
1 parent 59ad621 commit dca0dc1

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.scalafmt.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.0.4
1+
version = 3.0.5
22

33
style = defaultWithAlign
44
maxColumn = 100

fetch/src/test/scala/FetchReportingTests.scala

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ class FetchReportingTests extends FetchSpec {
8787
"Single fetches combined with traverse are run in one round" in {
8888
def fetch[F[_]: Concurrent] =
8989
for {
90-
manies <- many(3) // round 1
91-
ones <- manies.traverse(one[F]) // round 2
90+
manies <- many(3) // round 1
91+
ones <- manies.traverse(one[F]) // round 2
9292
} yield ones
9393

9494
val io = Fetch.runLog[IO](fetch)
@@ -119,9 +119,9 @@ class FetchReportingTests extends FetchSpec {
119119

120120
def anotherFetch[F[_]: Concurrent] =
121121
for {
122-
a <- one(2) // round 1 (batched)
122+
a <- one(2) // round 1 (batched)
123123
m <- many(4) // round 2
124-
c <- one(3) // round 3 (deduplicated)
124+
c <- one(3) // round 3 (deduplicated)
125125
} yield c
126126

127127
def fetch[F[_]: Concurrent] =

fetch/src/test/scala/FetchTests.scala

+8-8
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,13 @@ class FetchTests extends FetchSpec {
262262
"The product of concurrent fetches of the same type implies everything fetched in a single batch" in {
263263
def aFetch[F[_]: Concurrent] =
264264
for {
265-
a <- one(1) // round 1
265+
a <- one(1) // round 1
266266
b <- many(1) // round 2
267267
c <- one(1)
268268
} yield c
269269
def anotherFetch[F[_]: Concurrent] =
270270
for {
271-
a <- one(2) // round 1
271+
a <- one(2) // round 1
272272
m <- many(2) // round 2
273273
c <- one(2)
274274
} yield c
@@ -292,13 +292,13 @@ class FetchTests extends FetchSpec {
292292
"Every level of joined concurrent fetches is combined and batched" in {
293293
def aFetch[F[_]: Concurrent] =
294294
for {
295-
a <- one(1) // round 1
295+
a <- one(1) // round 1
296296
b <- many(1) // round 2
297297
c <- one(1)
298298
} yield c
299299
def anotherFetch[F[_]: Concurrent] =
300300
for {
301-
a <- one(2) // round 1
301+
a <- one(2) // round 1
302302
m <- many(2) // round 2
303303
c <- one(2)
304304
} yield c
@@ -318,15 +318,15 @@ class FetchTests extends FetchSpec {
318318
"Every level of sequenced concurrent fetches is batched" in {
319319
def aFetch[F[_]: Concurrent] =
320320
for {
321-
a <- List(2, 3, 4).traverse(one[F]) // round 1
322-
b <- List(0, 1).traverse(many[F]) // round 2
321+
a <- List(2, 3, 4).traverse(one[F]) // round 1
322+
b <- List(0, 1).traverse(many[F]) // round 2
323323
c <- List(9, 10, 11).traverse(one[F]) // round 3
324324
} yield c
325325

326326
def anotherFetch[F[_]: Concurrent] =
327327
for {
328-
a <- List(5, 6, 7).traverse(one[F]) // round 1
329-
b <- List(2, 3).traverse(many[F]) // round 2
328+
a <- List(5, 6, 7).traverse(one[F]) // round 1
329+
b <- List(2, 3).traverse(many[F]) // round 2
330330
c <- List(12, 13, 14).traverse(one[F]) // round 3
331331
} yield c
332332

0 commit comments

Comments
 (0)