Skip to content

Commit a2cb398

Browse files
committed
Fix tests
1 parent 43b2c42 commit a2cb398

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/StatefulMetricTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public void testLabelRemoveWhileCollecting() throws Exception {
4040
@Test
4141
@SuppressWarnings("unchecked")
4242
public void testLabelRemoveIf() throws Exception {
43-
Counter counter = Counter.builder().name("testLabelRemoveIf").labelNames("label1", "label2").build();
43+
Counter counter =
44+
Counter.builder().name("testLabelRemoveIf").labelNames("label1", "label2").build();
4445
Field data = counter.getClass().getSuperclass().getDeclaredField("data");
4546
data.setAccessible(true);
4647

0 commit comments

Comments
 (0)