Skip to content

Commit

Permalink
:-(
Browse files Browse the repository at this point in the history
  • Loading branch information
astefan committed Sep 13, 2024
1 parent eb6de84 commit 2831a15
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.elasticsearch.common.unit.ByteSizeUnit;
import org.elasticsearch.common.unit.ByteSizeValue;
import org.elasticsearch.common.xcontent.XContentHelper;
import org.elasticsearch.core.Strings;
import org.elasticsearch.core.TimeValue;
import org.elasticsearch.discovery.DiscoveryModule;
import org.elasticsearch.index.IndexVersion;
Expand Down Expand Up @@ -846,7 +847,7 @@ public void testToXContent() throws IOException {
}
}""";
assertEquals(
stripWhitespace(String.format(expectedJson + (CCS_TELEMETRY_FEATURE_FLAG.isEnabled() ? ccsOutput : "") + suffixJson, args)),
stripWhitespace(Strings.format(expectedJson + (CCS_TELEMETRY_FEATURE_FLAG.isEnabled() ? ccsOutput : "") + suffixJson, args)),
xContent.utf8ToString()
);
}
Expand Down

0 comments on commit 2831a15

Please sign in to comment.