rombert commented on code in PR #62:
URL:
https://github.com/apache/sling-org-apache-sling-feature-analyser/pull/62#discussion_r3750003931
##########
src/test/java/org/apache/sling/feature/analyser/task/impl/repoinitconflicts/RepoInitConflictsValidatorTest.java:
##########
@@ -69,9 +69,10 @@ void shouldReportConflictForSamePathDifferentType() {
assertTrue(report.hasConflicts());
List<String> result = report.generate();
- assertTrue(result.get(1).contains("Incorrect repoinit for feature"));
- assertTrue(result.get(2).contains("Found 1 sets of conflicting
repoinit statements"));
- assertTrue(result.get(3).contains("/apps/a/b"));
+ assertTrue(result.get(1).contains("Repoinit validation conflict
summary"));
Review Comment:
Yes, I think it's good to have a single log message for each conflict
statements set, and presenting them on different lines like you did also make
it easy to see the diffs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]