Browse Source

[NO JIRA] fix test incorrect assertion of positivity

tags/10.0.0.68432
Steve Marion 1 year ago
parent
commit
a3cecf868e

+ 1
- 1
sonar-plugin-api-impl/src/test/java/org/sonar/api/impl/utils/AlwaysIncreasingSystem2Test.java View File

@@ -97,7 +97,7 @@ public class AlwaysIncreasingSystem2Test {
if (initialValue != null) {
assertThat(now).isEqualTo(initialValue);
} else {
assertThat(now).isPositive();
assertThat(now).isNotNegative();
}
previousValue = now;
} else {

Loading…
Cancel
Save