change PROBE format for max-suffix-length for each suggested name
Change-Id: Ie0823963fd3c56e40d825e0e80dfadf164f08ca3
diff --git a/tests/unit-tests/protocol-detail.t.cpp b/tests/unit-tests/protocol-detail.t.cpp
index 881a040..91436ed 100644
--- a/tests/unit-tests/protocol-detail.t.cpp
+++ b/tests/unit-tests/protocol-detail.t.cpp
@@ -63,9 +63,11 @@
std::vector<Name> ids;
ids.push_back(Name("/example"));
auto contentTlv = PROBE::encodeDataContent(ids, 2, config.m_redirection);
- std::vector<Name> decodedIds, decodedRedirectionItems;
+ std::vector<Name> decodedRedirectionItems;
+ std::vector<std::pair<Name, int>> decodedIds;
PROBE::decodeDataContent(contentTlv, decodedIds, decodedRedirectionItems);
- BOOST_CHECK_EQUAL(decodedIds[0], Name("/example"));
+ BOOST_CHECK_EQUAL(decodedIds[0].first, Name("/example"));
+ BOOST_CHECK_EQUAL(decodedIds[0].second, 2);
BOOST_CHECK_EQUAL(decodedRedirectionItems[0], config.m_redirection->at(0)->getFullName());
}