Skip to content

Commit

Permalink
address order permutation in MutuallyExclusiveArgsException (#4093)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyaok2 authored Sep 8, 2023
1 parent 0766506 commit 8ed4eee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public void testParse_incompatibleCredentialOptions(String[] authArgs) {
new Jar(), ArrayUtils.addAll(authArgs, "--target=ignored", "my-app.jar")));
assertThat(meae)
.hasMessageThat()
.containsMatch("^Error: (--(from-|to-)?credential-helper|\\[--username)");
.containsMatch("^Error: (\\[)*(--(from-|to-)?credential-helper|\\[--(username|password))");
}

@Test
Expand Down

0 comments on commit 8ed4eee

Please sign in to comment.