Minor. Fix BuildSessionLoggerTest
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ class BuildSessionLoggerTest {
|
|||||||
assertNotNull(it.getMetric(metric), "Could not find metric ${metric.name}")
|
assertNotNull(it.getMetric(metric), "Could not find metric ${metric.name}")
|
||||||
}
|
}
|
||||||
for (metric in BooleanMetrics.values()) {
|
for (metric in BooleanMetrics.values()) {
|
||||||
assertTrue(it.getMetric(metric)?.getValue() ?: false, "Could not find metric ${metric.name}")
|
assertTrue(it.getMetric(metric)?.getValue() != null, "Could not find metric ${metric.name}")
|
||||||
}
|
}
|
||||||
for (metric in NumericalMetrics.values()) {
|
for (metric in NumericalMetrics.values()) {
|
||||||
assertNotNull(it.getMetric(metric), "Could not find metric ${metric.name}")
|
assertNotNull(it.getMetric(metric), "Could not find metric ${metric.name}")
|
||||||
|
|||||||
Reference in New Issue
Block a user