Project

General

Profile

Actions

Bug #4241

closed

Missing "res = " in regex unit test

Added by Anonymous over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Utils
Target version:
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 #1

Updated by Junxiao Shi about 7 years ago

  • Category set to Utils
  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
  • Target version set to v0.6
  • Estimated time set to 0.50 h
Actions #2

Updated by Junxiao Shi about 7 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi about 7 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF