We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1087acd commit 12d4f7aCopy full SHA for 12d4f7a
src/test/java/org/kohsuke/github/ArchTests.java
@@ -141,7 +141,7 @@ public void testRequireUseOfAssertThat() {
141
final String reason = "This project uses `assertThat(...)` instead of other `assert*()` methods.";
142
143
final DescribedPredicate<HasName> assertMethodOtherThanAssertThat = nameContaining("assert")
144
- .and(DescribedPredicate.not(name("assertThat")).or(DescribedPredicate.not(name("assertThrows"))));
+ .and(DescribedPredicate.not(name("assertThat")).and(DescribedPredicate.not(name("assertThrows"))));
145
146
final ArchRule onlyAssertThatRule = classes()
147
.should(not(callMethodWhere(target(assertMethodOtherThanAssertThat))))
0 commit comments