ClearArg() did not clear the multi arg map, which could lead to the
situation where GetArg("arg") returned its default value while
GetArgs("arg") returned a non empty vector.
Add unit tests for the ClearArg() method.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING11ac63c5f122: ClearArg also clears multi-args, add unit tests for args clearing
rABC11ac63c5f122: ClearArg also clears multi-args, add unit tests for args clearing
make check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- unit_test_arg_mocks
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 4479 Build 7021: Bitcoin ABC Buildbot (legacy) Build 7020: arc lint + arc unit