Skip to content

Commit

Permalink
BUILD: fix errorprone TruthSelfEquals warn
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop authored Apr 10, 2024
1 parent a82062b commit 3ce273c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/java/picocli/ModelOptionSpecTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ public void testOptionSpecEquals() {
.order(123);

OptionSpec p1 = option.build();
assertEquals(p1, p1);
assertEquals(p1, option.build());
assertNotEquals(p1, option.arity("2").build());
assertNotEquals(p1, option.arity("1").hideParamSyntax(false).build());
Expand Down Expand Up @@ -443,7 +442,6 @@ public void testUsageSplitEquals() {
.order(123);

OptionSpec p1 = option.build();
assertEquals(p1, p1);
assertEquals(p1, option.build());
assertNotEquals(p1, option.splitRegexSynopsisLabel("\\\\?").build());
}
Expand Down

0 comments on commit 3ce273c

Please sign in to comment.