Fix accidentally remaining copy-pasted variable name.
Example output when intentionally adding expected.erase(expected.begin());
before BOOST_CHECK_EQUAL_COLLECTIONS
in db_tests.cpp/CheckPrefix
:
Before fix:
0src/wallet/test/db_tests.cpp(61): error: in "db_tests/db_cursor_prefix_byte_test": check { actual.begin(), actual.end() } == { expected.begin(), expected.end() } has failed.
1Mismatch at position 0: ("�", "�") != ("�suffix", "�suffix")
2Mismatch at position 1: ("�suffix", "�suffix") != ("��", "��")
3Mismatch at position 2: ("��", "��") != ("��suffix", "��suffix")
4Collections size mismatch: 4 != 3
After fix:
0src/wallet/test/db_tests.cpp(61): error: in "db_tests/db_cursor_prefix_byte_test": check { actual.begin(), actual.end() } == { expected.begin(), expected.end() } has failed.
1Mismatch at position 0: ("�", "f") != ("�suffix", "fs")
2Mismatch at position 1: ("�suffix", "fs") != ("��", "ff")
3Mismatch at position 2: ("��", "ff") != ("��suffix", "ffs")
4Collections size mismatch: 4 != 3
Super-minor issue only uncovered when tests fail, but might as well correct it.