Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
Just to make the order of file explicit
  • Loading branch information
ja-openai committed Aug 23, 2024
1 parent b75b44b commit f57a3ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ protected void checkDirectoriesContainSameContent(File dir1, File dir2)
// If that's a file, check that the both files have the same content
if (file2.isFile() && !Files.equal(file1, file2)) {
throw new DifferentDirectoryContentException(
"File: "
"File1: "
+ file1.toString()
+ " and file: "
+ " and file2: "
+ file2.toString()
+ " have different content."
+ "\n\nfile1 content:\n\n"
Expand Down

0 comments on commit f57a3ed

Please sign in to comment.