From e5d9c92f6a5653c95671a5183f5c5a7031495aa5 Mon Sep 17 00:00:00 2001 From: owentou Date: Thu, 13 Jan 2022 10:46:10 +0800 Subject: [PATCH] Fix format problem for different versions of clang-format Signed-off-by: owentou --- exporters/zipkin/test/zipkin_exporter_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exporters/zipkin/test/zipkin_exporter_test.cc b/exporters/zipkin/test/zipkin_exporter_test.cc index 79547af950..42654c2fb0 100644 --- a/exporters/zipkin/test/zipkin_exporter_test.cc +++ b/exporters/zipkin/test/zipkin_exporter_test.cc @@ -256,8 +256,9 @@ TEST_F(ZipkinExporterTestPeer, ExportJsonIntegrationTest) TEST_F(ZipkinExporterTestPeer, ShutdownTest) { auto mock_http_client = new MockHttpClient; - auto exporter = GetExporter( - std::shared_ptr{mock_http_client}); + // Leave a comment line here or different version of clang-format has a different result here + auto exporter = GetExporter( + std::shared_ptr{mock_http_client}); auto recordable_1 = exporter->MakeRecordable(); recordable_1->SetName("Test span 1"); auto recordable_2 = exporter->MakeRecordable();