Skip to content

Commit 821db67

Browse files
committed
Update test
1 parent 05e5029 commit 821db67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/scala/ScalaSttpCirceCodegenTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public void verifyContainerWrappedRefPreventsInlining() throws IOException {
156156
// Animal is a regular trait (not sealed) because not all children can be inlined
157157
Path animalPath = Paths.get(outputPath + "/src/main/scala/org/openapitools/client/model/Animal.scala");
158158
assertFileContains(animalPath, "trait Animal");
159+
assertFileNotContains(animalPath, "sealed trait Animal");
159160
assertFileNotContains(animalPath, "case class Cat");
160161
assertFileNotContains(animalPath, "case class Dog");
161162

0 commit comments

Comments
 (0)