Skip to content

Commit

Permalink
Fix checkstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
meistermeier committed Apr 29, 2021
1 parent 8d63027 commit aa85c36
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ void generate_CustomModelAndApiPackages() throws Exception {

File[] modelFiles = Objects.requireNonNull(new File(outputJavaClassesDir, "model").listFiles());
List<String> generatedModelFileNames = Arrays.stream(modelFiles).map(File::getName).sorted().collect(toList());
assertEquals(Arrays.asList("Event.java", "EventProperty.java", "EventStatus.java", "User.java"), generatedModelFileNames);
assertEquals(Arrays.asList("Event.java", "EventProperty.java", "EventStatus.java", "User.java"),
generatedModelFileNames);

for (File modelFile : modelFiles) {
assertThat(Utils.getFileContent(modelFile.getPath()),
Expand Down Expand Up @@ -296,7 +297,8 @@ void generate_OnlyModel() throws Exception {

File[] files = Objects.requireNonNull(outputJavaClassesDir.listFiles());
List<String> generatedFileNames = Arrays.stream(files).map(File::getName).sorted().collect(toList());
assertEquals(Arrays.asList("Event.java", "EventProperty.java", "EventStatus.java", "User.java"), generatedFileNames);
assertEquals(Arrays.asList("Event.java", "EventProperty.java", "EventStatus.java", "User.java"),
generatedFileNames);
}

@Test
Expand Down

0 comments on commit aa85c36

Please sign in to comment.