Update std-test.cc
copypasta error
This commit is contained in:
parent
4499c61337
commit
f45cfad7e1
@ -251,7 +251,7 @@ TEST(std_test, format_atomic_flag) {
|
|||||||
(void) f.test_and_set();
|
(void) f.test_and_set();
|
||||||
EXPECT_EQ(fmt::format("{}", f), "true");
|
EXPECT_EQ(fmt::format("{}", f), "true");
|
||||||
|
|
||||||
const std::atomic<bool> cf = ATOMIC_FLAG_INIT;
|
const std::atomic_flag cf = ATOMIC_FLAG_INIT;
|
||||||
EXPECT_EQ(fmt::format("{}", cf), "false");
|
EXPECT_EQ(fmt::format("{}", cf), "false");
|
||||||
}
|
}
|
||||||
#endif // defined(__cpp_lib_atomic_flag_test) && __cpp_lib_atomic_flag_test >= 201907L
|
#endif // defined(__cpp_lib_atomic_flag_test) && __cpp_lib_atomic_flag_test >= 201907L
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user