8319444: Unhelpful failure output in TestLegalNotices
Reviewed-by: hannesw, jjg
This commit is contained in:
parent
cdd1a6e851
commit
62418c681e
@ -111,6 +111,8 @@ public class TestLegalNotices extends JavadocTester {
|
|||||||
super.out.println(" Found: " + foundFiles);
|
super.out.println(" Found: " + foundFiles);
|
||||||
if (foundFiles.equals(expectFiles)) {
|
if (foundFiles.equals(expectFiles)) {
|
||||||
passed("Found all expected files");
|
passed("Found all expected files");
|
||||||
|
} else {
|
||||||
|
failed("Did not find all expected files");
|
||||||
}
|
}
|
||||||
|
|
||||||
// See JDK-8306980
|
// See JDK-8306980
|
||||||
@ -168,4 +170,4 @@ public class TestLegalNotices extends JavadocTester {
|
|||||||
return files;
|
return files;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user