Skip to content

Commit

Permalink
Fix ExtractFilesTest test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeybakhtin committed Dec 4, 2024
1 parent bdb6cf4 commit a99b5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdk/test/tools/jar/ExtractFilesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void testWarningOnInvalidKeepOption() throws IOException {
"testfile2" + nl;

Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
Assertions.assertEquals("Warning: The -k/k option is not valid with current usage, will be ignored." + nl, err);
Assertions.assertEquals("Warning: The k option is not valid with current usage, will be ignored." + nl, err);
}

private Stream<Path> mkpath(String... args) {
Expand Down

1 comment on commit a99b5b5

@martinuy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I missed this one.

Please sign in to comment.