Skip to content

Commit

Permalink
style(AddTeamToCodeownersTest): apply auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sghill committed Sep 2, 2023
1 parent 1a12b66 commit cb7d9f1
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ void shouldAddFileIfMissing() {
pomXml(POM),
text(null,
"""
* @jenkinsci/sample-plugin-developers
""",
* @jenkinsci/sample-plugin-developers
""",
s -> s.path(".github/CODEOWNERS").noTrim()
)
);
Expand All @@ -78,15 +78,15 @@ void shouldAddLineIfTeamNotDefinedForAllRetainingTrailingSpace() {
* @global-owner1 @global-owner2
*.js @js-owner #This is an inline comment.
/build/logs/ @doctocat
""",
"""
# This is a comment.
* @jenkinsci/sample-plugin-developers
* @global-owner1 @global-owner2
*.js @js-owner #This is an inline comment.
/build/logs/ @doctocat
""",
s -> s.path(".github/CODEOWNERS").noTrim()
)
Expand Down Expand Up @@ -223,13 +223,13 @@ void shouldNoOpIfInvalidTeamGenerated() {
@Test
void shouldNotModifyNonCodeowners() {
rewriteRun(
pomXml(POM),
text("*.iml",
s -> s.path(".gitignore")),
text(
"* @jenkinsci/sample-plugin-developers",
s -> s.path(".github/CODEOWNERS").noTrim()
)
pomXml(POM),
text("*.iml",
s -> s.path(".gitignore")),
text(
"* @jenkinsci/sample-plugin-developers",
s -> s.path(".github/CODEOWNERS").noTrim()
)
);
}
}

0 comments on commit cb7d9f1

Please sign in to comment.