summaryrefslogtreecommitdiff
path: root/test/libapt/cdromfindpackages_test.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-01-15 15:57:32 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-15 18:19:16 +0100
commit9b2845e1691b5587d731c3dae9f695ca2db0be1a (patch)
tree57cdbc9c5176b41252dd23413d466b7b2f98a43d /test/libapt/cdromfindpackages_test.cc
parentc987dff466fcb80278851df212f86cfce86ee9bc (diff)
return correct position in APT::StringView::(r)find
The position returned is supposed to be the position of the character counted from the start of the string, but if we used the substr calling overloads the skipped over prefix wasn't considered. The pos parameter of rfind had also the wrong semantic.
Diffstat (limited to 'test/libapt/cdromfindpackages_test.cc')
0 files changed, 0 insertions, 0 deletions