Skip to content

Commit

Permalink
Update scalafmt-core to 3.7.12 (#3092)
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremill-ci authored Aug 8, 2023
1 parent dc4da17 commit b991061
Show file tree
Hide file tree
Showing 4 changed files with 11 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 @@ -30,3 +30,6 @@ f52cdbdd18eedf7979c62060ce9c36a948d24d6e

# Scala Steward: Reformat with scalafmt 3.7.11
c40dbf3aafd72299a21b38125140249337c83e0f

# Scala Steward: Reformat with scalafmt 3.7.12
631454eb718c0c3539cb5296452728d5248f579b
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.11
version = 3.7.12
maxColumn = 140
runner.dialect = scala3
fileOverride {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,6 @@ object OpenapiSchemaType {
Decoder[OpenapiSchemaObject].widen,
Decoder[OpenapiSchemaMap].widen,
Decoder[OpenapiSchemaArray].widen,
Decoder[OpenapiSchemaEnum].widen,
Decoder[OpenapiSchemaEnum].widen
).reduceLeft(_ or _)
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import sttp.tapir.codegen.testutils.CompileCheckTestBase
class BasicGeneratorSpec extends CompileCheckTestBase {

it should "generate the bookshop example" in {
BasicGenerator.generateObjects(TestHelpers.myBookshopDoc, "sttp.tapir.generated", "TapirGeneratedEndpoints", targetScala3 = false) shouldCompile ()
BasicGenerator.generateObjects(
TestHelpers.myBookshopDoc,
"sttp.tapir.generated",
"TapirGeneratedEndpoints",
targetScala3 = false
) shouldCompile ()
}

}

0 comments on commit b991061

Please sign in to comment.