[tests] util_tests.cpp: actually check ignored args
commitc99a3c32c830384a9959a468a13441fcd2e48a72
authorAnthony Towns <aj@erisian.com.au>
Tue, 12 Dec 2017 07:39:09 +0000 (12 17:39 +1000)
committerAnthony Towns <aj@erisian.com.au>
Wed, 3 Jan 2018 14:02:52 +0000 (4 00:02 +1000)
tree6a61ac4f9d1b4e28a14956433e79a559b8393c59
parent20166f8a448156f476f3e23825f59ebec36424a9
[tests] util_tests.cpp: actually check ignored args

An array with 7 elements was setup for checking argument parsing, but
was passed to ParseParamaeters with argc=5, meaning the interpretation
of the last two arguments was never actually checked.
src/test/util_tests.cpp