commit | ebfe4a207f658a77b5249cda4bd0bc35ede82066 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sun Apr 01 23:53:40 2018 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Sun Apr 01 23:53:40 2018 +0000 |
tree | cb27ce64b7efb130a1de3b9e6c9e1d5c6ba30d98 | |
parent | b849f61b6bc35a050cf3d1d15d07cf639b2732f1 [diff] [blame] |
meta-info: allow typed name component in FinalBlockId refs #4526 Change-Id: I3b6667928fa47c631e45ff5f0ca2c5030c5cc2ad
diff --git a/tests/unit-tests/util/segment-fetcher.t.cpp b/tests/unit-tests/util/segment-fetcher.t.cpp index edcb9ca..c4d6bb8 100644 --- a/tests/unit-tests/util/segment-fetcher.t.cpp +++ b/tests/unit-tests/util/segment-fetcher.t.cpp
@@ -55,7 +55,7 @@ auto data = make_shared<Data>(Name(baseName).appendSegment(segment)); data->setContent(buffer, sizeof(buffer)); if (isFinal) { - data->setFinalBlockId(data->getName()[-1]); + data->setFinalBlock(data->getName()[-1]); } return signData(data);