Cleanup formatting
Wew, that's a lot of stuff. But I thought it makes sense after the
sysrepo migration.
Change-Id: If363d2ce1b11106113a9f0c37a3bcd59a940bd0b
diff --git a/tests/list_manipulation.cpp b/tests/list_manipulation.cpp
index e9dd466..5316384 100644
--- a/tests/list_manipulation.cpp
+++ b/tests/list_manipulation.cpp
@@ -37,7 +37,7 @@
SECTION("mod:list[number=3]")
{
input = "mod:list[number=3]";
- auto keys = ListInstance {
+ auto keys = ListInstance{
{"number", int32_t{3}}};
expectedPath.m_nodes.emplace_back(module_{"mod"}, listElement_("list", keys));
}
@@ -45,10 +45,10 @@
SECTION("mod:company[department=other:engineering]/inventory[id=1337]")
{
input = "mod:company[department=other:engineering]/inventory[id=1337]";
- auto keys = ListInstance {
+ auto keys = ListInstance{
{"department", identityRef_{"other", "engineering"}}};
expectedPath.m_nodes.emplace_back(module_{"mod"}, listElement_("company", keys));
- keys = ListInstance {
+ keys = ListInstance{
{"id", int32_t{1337}}};
expectedPath.m_nodes.emplace_back(listElement_("inventory", keys));
}
@@ -128,7 +128,7 @@
{
input = "move mod:addresses['1.2.3.4'] after '0.0.0.0'";
expected.m_source.m_nodes.emplace_back(module_{"mod"}, leafListElement_{"addresses", "1.2.3.4"s});
- expected.m_destination = yang::move::Relative {
+ expected.m_destination = yang::move::Relative{
yang::move::Relative::Position::After,
{{".", "0.0.0.0"s}}
};
@@ -138,7 +138,7 @@
{
input = "move mod:addresses['1.2.3.4'] before '0.0.0.0'";
expected.m_source.m_nodes.emplace_back(module_{"mod"}, leafListElement_{"addresses", "1.2.3.4"s});
- expected.m_destination = yang::move::Relative {
+ expected.m_destination = yang::move::Relative{
yang::move::Relative::Position::Before,
{{".", "0.0.0.0"s}}
};
@@ -150,7 +150,7 @@
auto keys = std::map<std::string, leaf_data_>{
{"number", int32_t{12}}};
expected.m_source.m_nodes.emplace_back(module_{"mod"}, listElement_("list", keys));
- expected.m_destination = yang::move::Relative {
+ expected.m_destination = yang::move::Relative{
yang::move::Relative::Position::Before,
ListInstance{{"number", int32_t{15}}}
};