Skip to content

Commit

Permalink
CodeOwnersPluginConfigValidatorIT: Wrap long lines
Browse files Browse the repository at this point in the history
Change-Id: Iaf5876a4f0f080e0104e035fca79582d23709ff0
Signed-off-by: Edwin Kempin <ekempin@google.com>
Reviewed-on: https://gerrit-review.googlesource.com/c/plugins/code-owners/+/402729
Reviewed-by: Patrick Hiesel <hiesel@google.com>
Tested-by: Patrick Hiesel <hiesel@google.com>
  • Loading branch information
EdwinKempin authored and phiesel committed Jan 15, 2024
1 parent cbed17a commit 00c11f9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,8 @@ public void cannotSetInvalidMaxPathsInChangeMessages() throws Exception {
assertThat(r.getMessages())
.contains(
"The value for max paths in change messages 'INVALID' that is configured in"
+ " code-owners.config (parameter codeOwners.maxPathsInChangeMessages) is invalid.");
+ " code-owners.config (parameter codeOwners.maxPathsInChangeMessages) is"
+ " invalid.");
}

@Test
Expand Down Expand Up @@ -865,7 +866,8 @@ public void warnIfCodeOwnersConfigurationIsDoneInProjectConfig_configWithCodeOwn
r.assertMessage(
String.format(
"hint: commit %s: Section 'codeOwners' in project.config is ignored and has no effect."
+ " The configuration for the code-owners plugin must be done in code-owners.config.",
+ " The configuration for the code-owners plugin must be done in"
+ " code-owners.config.",
ObjectIds.abbreviateName(r.getCommit(), testRepo.getRevWalk().getObjectReader())));
}

Expand Down

0 comments on commit 00c11f9

Please # to comment.