Skip to content

Commit ed23cc5

Browse files
committed
fix: fix test for trailing commas
1 parent 4f056c1 commit ed23cc5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • graphql-dgs-codegen-core/src/test/kotlin/com/netflix/graphql/dgs/codegen

graphql-dgs-codegen-core/src/test/kotlin/com/netflix/graphql/dgs/codegen/CodeGenTest.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2889,11 +2889,12 @@ It takes a title and such.
28892889
@JsonProperty("lastname")
28902890
public val lastname: String? = null,
28912891
@JsonProperty("company")
2892-
public val company: String? = null
2892+
public val company: String? = null,
28932893
) {
28942894
public companion object
28952895
}
2896-
""".trimMargin()
2896+
2897+
""".trimIndent()
28972898
)
28982899

28992900
assertCompilesKotlin(dataTypes)

0 commit comments

Comments
 (0)