Skip to content

Commit 875b064

Browse files
committed
fix test
1 parent c825a78 commit 875b064

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/KotlinReservedWordsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ public void reservedWordsInGeneratedServerCode() throws Exception {
191191
File resultSourcePath = new File(output, "src/main/kotlin");
192192

193193
assertFileContains(Paths.get(resultSourcePath.getAbsolutePath() + baseApiPackage + "AnnotationsApiController.kt"),
194-
"fun annotationsPost(@Parameter(description = \"\", required = true) @Valid @RequestBody `annotation`: Annotation",
194+
"fun annotationsPost("
195+
+ " @Parameter(description = \"\", required = true) @Valid @RequestBody `annotation`: Annotation",
195196
"return ResponseEntity(service.annotationsPost(`annotation`), HttpStatus.valueOf(200))"
196197
);
197198

0 commit comments

Comments
 (0)