commit | f59b83cb3bbfe00457c6fa89305f29262d46a3d7 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Mar 18 18:12:08 2022 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Mar 21 23:54:05 2022 +0100 |
tree | 5f23d0c83d9b77b78fca466004e8cdcd9cf27d7b | |
parent | f2535179338722f0304d0370893968a3cb5a8ef9 [diff] [blame] |
Port to libyang-cpp and sysrepo-cpp API change to std::string Change-Id: I9e683e0ab3a5db696c35699d22cf1cb982c8ceda Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/5564
diff --git a/tests/utils.cpp b/tests/utils.cpp index c24f4de..7d0af08 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp
@@ -357,7 +357,7 @@ expectedLeafData = std::string{"Xaver"}; } - auto leaf = dataNode->findPath(("/" + path).c_str()); + auto leaf = dataNode->findPath("/" + path); REQUIRE(leafValueFromNode(leaf->asTerm()) == expectedLeafData); }