name-component: rename fromEscapedString() to fromUri()
Consistent with toUri()
Change-Id: Ia8ca75be9068b06840e2847f0128ffc7a4cd57af
diff --git a/tests/unit/interest.t.cpp b/tests/unit/interest.t.cpp
index c67bd0e..4c540b7 100644
--- a/tests/unit/interest.t.cpp
+++ b/tests/unit/interest.t.cpp
@@ -679,9 +679,8 @@
interest = makeInterest(data->getFullName());
BOOST_CHECK_EQUAL(interest->matchesData(*data), true);
- setNameComponent(*interest, -1,
- name::Component::fromEscapedString("sha256digest=00000000000000000000000000"
- "00000000000000000000000000000000000000"));
+ setNameComponent(*interest, -1, name::Component::fromUri("sha256digest=00000000000000000000000000"
+ "00000000000000000000000000000000000000"));
BOOST_CHECK_EQUAL(interest->matchesData(*data), false); // violates implicit digest
}