Browse Source

Polish

pull/20874/head
Phillip Webb 6 years ago
parent
commit
4b1346f4bf
  1. 3
      spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/src/test/java/org/springframework/boot/jarmode/layertools/HelpCommandTests.java

3
spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/src/test/java/org/springframework/boot/jarmode/layertools/HelpCommandTests.java

@ -68,7 +68,6 @@ class HelpCommandTests {
this.command.run(this.out, Collections.emptyMap(), Arrays.asList("extract")); this.command.run(this.out, Collections.emptyMap(), Arrays.asList("extract"));
System.out.println(this.out); System.out.println(this.out);
assertThat(this.out).hasSameContentAsResource("help-extract-output.txt"); assertThat(this.out).hasSameContentAsResource("help-extract-output.txt");
} }
private File createJarFile(String name) throws IOException { private File createJarFile(String name) throws IOException {
@ -81,7 +80,7 @@ class HelpCommandTests {
writer.write(" - \"BOOT-INF/lib/a.jar\"\n"); writer.write(" - \"BOOT-INF/lib/a.jar\"\n");
writer.write(" - \"BOOT-INF/lib/b.jar\"\n"); writer.write(" - \"BOOT-INF/lib/b.jar\"\n");
writer.write("- \"0002\":\n"); writer.write("- \"0002\":\n");
writer.write(" - \"0002 BOOT-INF/lib/c.jar\"\n"); writer.write(" - \"BOOT-INF/lib/c.jar\"\n");
writer.write("- \"0003\":\n"); writer.write("- \"0003\":\n");
writer.write(" - \"BOOT-INF/lib/d.jar\"\n"); writer.write(" - \"BOOT-INF/lib/d.jar\"\n");
writer.flush(); writer.flush();

Loading…
Cancel
Save