Skip to content

Commit 9c3390c

Browse files
committed
reformat
1 parent eab7c69 commit 9c3390c

File tree

1 file changed

+4
-3
lines changed
  • jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/assertions

1 file changed

+4
-3
lines changed

jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/assertions/MetricAssert.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,15 @@ public void strictCheck() {
5454
}
5555

5656
private void strictCheck(String attribute, boolean expectedValue, boolean value) {
57-
if(!strict) {
57+
if (!strict) {
5858
return;
5959
}
6060
String failMsgPrefix = expectedValue ? "duplicate" : "missing";
61-
info.description("%s assertion on %s for metric '%s'", failMsgPrefix, attribute,
62-
actual.getName());
61+
info.description(
62+
"%s assertion on %s for metric '%s'", failMsgPrefix, attribute, actual.getName());
6363
objects.assertEqual(info, value, expectedValue);
6464
}
65+
6566
/**
6667
* Verifies metric description
6768
*

0 commit comments

Comments
 (0)