Get rid of push_back in favor of emplace_back
Change-Id: I4a0096441ed725eb21e42eb9cc17a173929e3788
diff --git a/tests/ls.cpp b/tests/ls.cpp
index 0a91dfb..58d4add 100644
--- a/tests/ls.cpp
+++ b/tests/ls.cpp
@@ -48,7 +48,7 @@
SECTION("ls --recursive")
{
input = "ls --recursive";
- expected.m_options.push_back(LsOption::Recursive);
+ expected.m_options.emplace_back(LsOption::Recursive);
}
}
@@ -142,7 +142,7 @@
SECTION("cwd: /example:a") { parser.changeNode(dataPath_{Scope::Relative, {dataNode_(module_{"example"}, container_{"a"})}}); }
input = "ls --recursive /example:a";
- expected.m_options.push_back(LsOption::Recursive);
+ expected.m_options.emplace_back(LsOption::Recursive);
expected.m_path = dataPath_{Scope::Absolute, {dataNode_(module_{"example"}, container_{"a"})}};
}