Add test for prefixed child nodes
Change-Id: I48a29f6470feb9a6271274dfedee80b2902478a0
diff --git a/tests/ls.cpp b/tests/ls.cpp
index b3be473..f862309 100644
--- a/tests/ls.cpp
+++ b/tests/ls.cpp
@@ -169,6 +169,13 @@
schemaNode_(container_{"contInList"})}};
}
+ SECTION("ls example:list/example:contInList")
+ {
+ input = "ls example:list/example:contInList";
+ expected.m_path = schemaPath_{Scope::Relative, {schemaNode_(module_{"example"}, list_{"list"}),
+ schemaNode_(module_{"example"},container_{"contInList"})}};
+ }
+
SECTION("ls example:list[number=343]/..")
{
input = "ls example:list[number=343]/..";