7196677: diff compares same file to itself in PaddingTest regression test
Reviewed-by: xuelei
This commit is contained in:
parent
1e258cff36
commit
7e677a587b
@ -195,7 +195,7 @@ public class PaddingTest {
|
||||
|
||||
private static void diff(String fname1, String fname2) throws Exception {
|
||||
if (!Arrays.equals(Files.readAllBytes(Paths.get(fname1)),
|
||||
Files.readAllBytes(Paths.get(fname1)))) {
|
||||
Files.readAllBytes(Paths.get(fname2)))) {
|
||||
throw new Exception(
|
||||
"files " + fname1 + " and " + fname2 + " differ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user