Skip to content

Commit

Permalink
8319444: Unhelpful failure output in TestLegalNotices
Browse files Browse the repository at this point in the history
Reviewed-by: hannesw, jjg
  • Loading branch information
cushon committed Nov 29, 2023
1 parent cdd1a6e commit 62418c6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ void test(Path base, Path src, Path legal, OptionKind optionKind, IndexKind inde
super.out.println(" Found: " + foundFiles);
if (foundFiles.equals(expectFiles)) {
passed("Found all expected files");
} else {
failed("Did not find all expected files");
}

// See JDK-8306980
Expand Down Expand Up @@ -168,4 +170,4 @@ Set<Path> listFiles(Path dir, Predicate<Path> filter) throws IOException {
return files;
}
}
}
}

1 comment on commit 62418c6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.