Skip to content

Commit 9189d7e

Browse files
committed
Unit tests
1 parent f7e5560 commit 9189d7e

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

tests/unit/sources/shared/TestDataContainer.cpp

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -625,16 +625,18 @@ BOOST_AUTO_TEST_CASE(Serialization)
625625
auto str = cfg.serialize();
626626
auto str_2 = defaultConf;
627627

628-
str.erase(
629-
std::remove_if(str.begin(), str.end(),
630-
[](char c) {
631-
return std::string_view(" \t\n\r").find(c) != std::string_view::npos;
632-
}),
633-
str.end());
634-
str_2.erase(std::remove_if(str.begin(), str.end(),
628+
str.erase(std::remove_if(str.begin(),
629+
str.end(),
630+
[](char c) {
631+
return std::string_view(" \t\n\r").find(c) != std::string_view::npos;
632+
}),
633+
str.end());
634+
str_2.erase(std::remove_if(str_2.begin(),
635+
str_2.end(),
635636
[](char c) {
636637
return std::string_view(" \t\n\r").find(c) != std::string_view::npos;
637-
}), str_2.end());
638+
}),
639+
str_2.end());
638640

639641
BOOST_CHECK_EQUAL(str, str_2);
640642

0 commit comments

Comments
 (0)