Fix get command completing nodes after list-end

Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/159
Change-Id: Ib67436afa5d7e528a86e51ae6d73aa2affc8e36d
diff --git a/tests/path_completion.cpp b/tests/path_completion.cpp
index bec663d..ffd3e93 100644
--- a/tests/path_completion.cpp
+++ b/tests/path_completion.cpp
@@ -195,6 +195,14 @@
             expectedCompletions = {"listInCont"};
             expectedContextLength = 1;
         }
+
+        SECTION("get /example:list/")
+        {
+            input = "get /example:list/";
+            expectedCompletions = {};
+            // The expectedContextLength is 13, because the completion isn't actually generated after the slash.
+            expectedContextLength = 13;
+        }
     }
 
     SECTION("list keys completion")