Skip to content

Commit afccf2b

Browse files
committed
fix: apply spotless formatting
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent a23742f commit afccf2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • integration-tests/it-exporter/it-exporter-test/src/test/java/io/prometheus/metrics/it/exporter/test

integration-tests/it-exporter/it-exporter-test/src/test/java/io/prometheus/metrics/it/exporter/test/ExporterIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ public void testPrometheusProtobufDebugFormat(String format, String expected) th
113113
// Protobuf text format omits fields with value 0, so nanos may be absent.
114114
// Replace the nanos placeholder with a regex-friendly marker before quoting.
115115
String withOptionalNanos =
116-
expectedResponse.replace(
117-
"\n nanos: <CREATED_TIMESTAMP_NANOS>", "<OPTIONAL_NANOS>");
116+
expectedResponse.replace("\n nanos: <CREATED_TIMESTAMP_NANOS>", "<OPTIONAL_NANOS>");
118117
String pattern =
119118
Pattern.quote(withOptionalNanos)
120119
.replace("<CREATED_TIMESTAMP_SECONDS>", "\\E\\d+\\Q")

0 commit comments

Comments
 (0)