@@ -213,10 +213,7 @@ TEST_CASE("TracerConfig::defaults") {
213213 " baz:123 bam:three" ,
214214 {{" baz" , " 123" }, {" bam" , " three" }},
215215 nullopt },
216- {" last one wins" ,
217- " baz:123 baz:three" ,
218- {{" baz" , " three" }},
219- nullopt },
216+ {" last one wins" , " baz:123 baz:three" , {{" baz" , " three" }}, nullopt },
220217 }));
221218
222219 // This will be overriden by the DD_TAGS environment variable.
@@ -425,16 +422,15 @@ TEST_CASE("TracerConfig::agent") {
425422 auto test_case = GENERATE (values<TestCase>({
426423 {" http://dd-agent:8126" , nullopt , " http" , " dd-agent:8126" , " " },
427424 {" http://dd-agent:8126/" , nullopt , " http" , " dd-agent:8126" , " /" },
428- {" https://dd-agent:8126/" , nullopt , " https" , " dd-agent:8126" ,
429- " /" },
425+ {" https://dd-agent:8126/" , nullopt , " https" , " dd-agent:8126" , " /" },
430426 {" unix:///var/run/datadog/trace-agent.sock" , nullopt , " unix" ,
431427 " /var/run/datadog/trace-agent.sock" },
432428 {" unix://var/run/datadog/trace-agent.sock" ,
433429 Error::URL_UNIX_DOMAIN_SOCKET_PATH_NOT_ABSOLUTE},
434- {" http+unix:///run/datadog/trace-agent.sock" , nullopt ,
435- " http+unix " , " /run/datadog/trace-agent.sock" },
436- {" https+unix:///run/datadog/trace-agent.sock" , nullopt ,
437- " https+unix " , " /run/datadog/trace-agent.sock" },
430+ {" http+unix:///run/datadog/trace-agent.sock" , nullopt , " http+unix " ,
431+ " /run/datadog/trace-agent.sock" },
432+ {" https+unix:///run/datadog/trace-agent.sock" , nullopt , " https+unix " ,
433+ " /run/datadog/trace-agent.sock" },
438434 {" tcp://localhost:8126" , Error::URL_UNSUPPORTED_SCHEME},
439435 {" /var/run/datadog/trace-agent.sock" , Error::URL_MISSING_SEPARATOR},
440436 }));
0 commit comments