Skip to content

Commit

Permalink
[ARCHETYPE-632] Add logging conflict line in integration-test (#114)
Browse files Browse the repository at this point in the history
* [ARCHETYPE-632] Add logging conflict line in integration-test

* Resolve conflicts

---------

Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>
  • Loading branch information
tkobayas and slawekjaranowski authored Sep 14, 2024
1 parent 835d927 commit 2e1552b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,10 @@ private boolean contentEquals(File referenceFile, File actualFile) throws IOExce
refLine = referenceFileReader.readLine();
actualLine = actualFileReader.readLine();
if (!Objects.equals(refLine, actualLine)) {
getLog().warn("Conflict found. Reference line :");
getLog().warn(refLine);
getLog().warn("Actual line :");
getLog().warn(actualLine);
return false;
}
} while (refLine != null || actualLine != null);
Expand Down

0 comments on commit 2e1552b

Please sign in to comment.