Add test for std::vector<bool>::reference
Co-authored-by: Felix <felix-antoine.constantin@polymtl.ca> Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
96d1fa22d4
commit
7ce9a2e7db
@ -221,3 +221,8 @@ TEST(std_test, exception) {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
TEST(std_test, format_vector_bool_specialization) {
|
||||
std::vector<bool> v = {true, false};
|
||||
EXPECT_EQ(fmt::format("{} {}", v[0], v[1]), "true false");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user