Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 0c43608

Browse files
committed
fix test
1 parent e3b5726 commit 0c43608

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/test/kotlin/io/openapiprocessor/core/writer/java/DataTypeWriterSpec.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ class DataTypeWriterSpec: StringSpec({
133133
writer.write (target, dataType)
134134

135135
// then:
136-
target.toString ().contains ("""\
137-
@JsonProperty(value = "foo", access = JsonProperty.Access.READ_ONLY)
138-
private String foo;
139-
140-
@JsonProperty(value = "bar", access = JsonProperty.Access.WRITE_ONLY)
141-
private String bar;
142-
143-
""")
136+
target.toString () shouldContain
137+
"""
138+
| @JsonProperty(value = "foo", access = JsonProperty.Access.READ_ONLY)
139+
| private String foo;
140+
|
141+
| @JsonProperty(value = "bar", access = JsonProperty.Access.WRITE_ONLY)
142+
| private String bar;
143+
""".trimMargin()
144144
}
145145

146146
})

0 commit comments

Comments
 (0)