Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff committed Feb 16, 2023
1 parent 92c9af1 commit 5155946
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sdk/test/common/env_var_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,16 @@ TEST(EnvVarTest, DurationEnvVar)
EXPECT_TRUE(exists);
EXPECT_EQ(value, expected);

value = poison;
expected =
std::chrono::duration_cast<std::chrono::system_clock::duration>(std::chrono::microseconds{20});
value = poison;
expected = std::chrono::duration_cast<std::chrono::system_clock::duration>(
std::chrono::microseconds{20});
exists = GetDurationEnvironmentVariable("DURATION_ENV_VAR_2", value);
EXPECT_TRUE(exists);
EXPECT_EQ(value, expected);

value = poison;
expected =
std::chrono::duration_cast<std::chrono::system_clock::duration>(std::chrono::milliseconds{30});
value = poison;
expected = std::chrono::duration_cast<std::chrono::system_clock::duration>(
std::chrono::milliseconds{30});
exists = GetDurationEnvironmentVariable("DURATION_ENV_VAR_3", value);
EXPECT_TRUE(exists);
EXPECT_EQ(value, expected);
Expand Down

0 comments on commit 5155946

Please sign in to comment.