Use ListInstance typedef in more places
Change-Id: Ic41218a1e09f76d7455816163d9b3ca24b0b94ca
diff --git a/tests/data_query.cpp b/tests/data_query.cpp
index 410c7c4..5bc3222 100644
--- a/tests/data_query.cpp
+++ b/tests/data_query.cpp
@@ -21,7 +21,7 @@
#include "utils.hpp"
namespace std {
-std::ostream& operator<<(std::ostream& s, const std::vector<std::map<std::string, leaf_data_>> set)
+std::ostream& operator<<(std::ostream& s, const std::vector<ListInstance> set)
{
s << std::endl << "{" << std::endl;
std::transform(set.begin(), set.end(), std::experimental::make_ostream_joiner(s, ", \n"), [](const auto& map) {
@@ -58,7 +58,7 @@
{
dataPath_ listPath;
listPath.m_scope = Scope::Absolute;
- std::vector<std::map<std::string, leaf_data_>> expected;
+ std::vector<ListInstance> expected;
SECTION("example-schema:person")
{