Open
Description
I think using .isTrue()
on any kind of complex assertion is probably a codesmell, so might be worth replacing stuff like this:
-assertThat(result.getTestResults().stream().allMatch(
- testResult -> testResult.getType().equals(RegressionTestResultType.NO_REGRESSION))).isTrue();
+assertThat(result.getTestResults()).allMatch(
+ testResult -> testResult.getType().equals(RegressionTestResultType.NO_REGRESSION));
Migrated from palantir/gradle-baseline#953
Metadata
Metadata
Assignees
Labels
No labels