Skip to content

Commit

Permalink
Merge pull request #785 from scala-steward/update/scalafmt-core-3.8.3
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.8.3
  • Loading branch information
mergify[bot] authored Jul 31, 2024
2 parents 860faa3 + 02f3199 commit a21da82
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# Scala Steward: Reformat with scalafmt 3.8.2
1f7736d5edc8cf5fa9e680e0d3bfb017f4f04b9d

# Scala Steward: Reformat with scalafmt 3.8.3
1b46d1df04b53c9969027c1b4da33c0d47d11bd6
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.2
version = 3.8.3
runner.dialect = Scala213Source3
maxColumn = 100
indent.defnSite = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class RepoTargetsResource(namespaceValidation: NamespaceValidation)(
name,
version,
hardwareIds.getOrElse(Seq.empty),
hashes.getOrElse(Seq.empty),
hashes.getOrElse(Seq.empty)
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,21 @@ class RepoTargetsResourceSpec
status shouldBe StatusCodes.NoContent
}

Get(apiUriV2(s"user_repo/search?hashes=352ce6b496cece167046d00d8a6431ffa43646b378cce4e3013d1d9aeef8dbb4,a1fb50e6c86fae1679ef3351296fd6713411a08cf8dd1790a4fd05fae8688161")).namespaced ~> routes ~> check {
Get(
apiUriV2(
s"user_repo/search?hashes=352ce6b496cece167046d00d8a6431ffa43646b378cce4e3013d1d9aeef8dbb4,a1fb50e6c86fae1679ef3351296fd6713411a08cf8dd1790a4fd05fae8688161"
)
).namespaced ~> routes ~> check {
status shouldBe StatusCodes.OK
val values = responseAs[PaginationResult[Package]].values
values should have size 1
}

Get(apiUriV2(s"user_repo/search?hashes=0000000000000000000000000000000000000000000000000000000000000000")).namespaced ~> routes ~> check {
Get(
apiUriV2(
s"user_repo/search?hashes=0000000000000000000000000000000000000000000000000000000000000000"
)
).namespaced ~> routes ~> check {
status shouldBe StatusCodes.OK
val values = responseAs[PaginationResult[Package]].values
values shouldBe empty
Expand Down Expand Up @@ -512,13 +520,21 @@ class RepoTargetsResourceSpec
values should have size 1
}

Get(apiUriV2(s"user_repo/grouped-search?hashes=0000000000000000000000000000000000000000000000000000000000000000")).namespaced ~> routes ~> check {
Get(
apiUriV2(
s"user_repo/grouped-search?hashes=0000000000000000000000000000000000000000000000000000000000000000"
)
).namespaced ~> routes ~> check {
status shouldBe StatusCodes.OK
val values = responseAs[PaginationResult[AggregatedPackage]].values
values shouldBe empty
}

Get(apiUriV2(s"user_repo/grouped-search?hashes=352ce6b496cece167046d00d8a6431ffa43646b378cce4e3013d1d9aeef8dbb4")).namespaced ~> routes ~> check {
Get(
apiUriV2(
s"user_repo/grouped-search?hashes=352ce6b496cece167046d00d8a6431ffa43646b378cce4e3013d1d9aeef8dbb4"
)
).namespaced ~> routes ~> check {
status shouldBe StatusCodes.OK
val values = responseAs[PaginationResult[AggregatedPackage]].values
values should have size 1
Expand Down

0 comments on commit a21da82

Please sign in to comment.