Actions
Bug #4241
closedMissing "res = " in regex unit test
Start date:
08/11/2017
Due date:
% Done:
100%
Estimated time:
0.50 h
Description
The following is from the unit test regex.t.cpp starting at line 114.
https://github.com/named-data/ndn-cxx/blob/70f95fa87e2229bc2fd051ce6c0ef51c6349278b/tests/unit-tests/util/regex.t.cpp#L114
cm->match(Name("/a/b/c"), 0, 2);
BOOST_CHECK_EQUAL(res, true);
There is a missing assignment for res =
. It should be
res = cm->match(Name("/a/b/c"), 0, 2);
BOOST_CHECK_EQUAL(res, true);
Actions