Skip to content

Commit c232c35

Browse files
committed
fixup!
1 parent 75f564e commit c232c35

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/test_tracer_config.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ TRACER_CONFIG_TEST("TracerConfig::agent") {
497497
Optional<std::string> env_host;
498498
Optional<std::string> env_port;
499499
Optional<std::string> env_url;
500-
Optional<Error::Code> expected_error = nullopt;
501500
std::string expected_scheme;
502501
std::string expected_authority;
502+
Optional<Error::Code> expected_error = nullopt;
503503
};
504504

505505
auto test_case = GENERATE(values<TestCase>({
@@ -509,8 +509,8 @@ TRACER_CONFIG_TEST("TracerConfig::agent") {
509509
"dd-agent:8080"},
510510
{"override port with default host", nullopt, "8080", nullopt, "http",
511511
"localhost:8080"},
512-
{"invalid port", nullopt, "bogus", nullopt, Error::INVALID_INTEGER,
513-
"", ""},
512+
{"invalid port", nullopt, "bogus", nullopt, "", "",
513+
Error::INVALID_INTEGER},
514514
{"URL", nullopt, nullopt, "http://dd-agent:8080", "http",
515515
"dd-agent:8080"},
516516
{"URL overrides scheme", nullopt, nullopt, "https://dd-agent:8080",

0 commit comments

Comments
 (0)