We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f564e commit c232c35Copy full SHA for c232c35
1 file changed
test/test_tracer_config.cpp
@@ -497,9 +497,9 @@ TRACER_CONFIG_TEST("TracerConfig::agent") {
497
Optional<std::string> env_host;
498
Optional<std::string> env_port;
499
Optional<std::string> env_url;
500
- Optional<Error::Code> expected_error = nullopt;
501
std::string expected_scheme;
502
std::string expected_authority;
+ Optional<Error::Code> expected_error = nullopt;
503
};
504
505
auto test_case = GENERATE(values<TestCase>({
@@ -509,8 +509,8 @@ TRACER_CONFIG_TEST("TracerConfig::agent") {
509
"dd-agent:8080"},
510
{"override port with default host", nullopt, "8080", nullopt, "http",
511
"localhost:8080"},
512
- {"invalid port", nullopt, "bogus", nullopt, Error::INVALID_INTEGER,
513
- "", ""},
+ {"invalid port", nullopt, "bogus", nullopt, "", "",
+ Error::INVALID_INTEGER},
514
{"URL", nullopt, nullopt, "http://dd-agent:8080", "http",
515
516
{"URL overrides scheme", nullopt, nullopt, "https://dd-agent:8080",
0 commit comments