Skip to content

Commit 258ec57

Browse files
committed
reformat
1 parent 73d5b5f commit 258ec57

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

openapi-circe/src/test/scala/sttp/apispec/openapi/circe/threeone/EncoderTest.scala

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,21 @@ class EncoderTest extends AnyFunSuite with ResourcePlatform {
167167

168168
val components = Components(
169169
schemas = ListMap(
170-
schemaComponent("const and enum")(Schema(
171-
const = Some("const1").map(ExampleSingleValue(_)),
172-
`enum` = Some(List("enum1", "enum2").map(ExampleSingleValue(_)))))
170+
schemaComponent("const and enum")(
171+
Schema(
172+
const = Some("const1").map(ExampleSingleValue(_)),
173+
`enum` = Some(List("enum1", "enum2").map(ExampleSingleValue(_)))
174+
)
175+
)
173176
)
174177
)
175178

176-
val openApiJson = fullSchemaOpenApi.copy(
177-
openapi = "3.0.1",
178-
components = Some(components)
179-
).asJson
179+
val openApiJson = fullSchemaOpenApi
180+
.copy(
181+
openapi = "3.0.1",
182+
components = Some(components)
183+
)
184+
.asJson
180185
val Right(json) = readJson("/spec/3.0/const_and_enum.json"): @unchecked
181186

182187
assert(openApiJson.spaces2SortKeys == json.spaces2SortKeys)

0 commit comments

Comments
 (0)