summaryrefslogtreecommitdiff
path: root/tests/Kbase_dir
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-15 22:10:19 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-15 23:29:09 +0200
commit0cebc87848210bf99993527694bb96efe45b9598 (patch)
treeedee507756373a92817d7174d099c54dbf6d869d /tests/Kbase_dir
parentce80cb14127ff5d592f0d8875a4eb781c6048d04 (diff)
Report correct locations in the presence of continuation lines.
The line number was previously for logical lines only. Oversight. Get rid of _get_lines() and keep the raw lines in _FileFeed instead, only joining lines with continuation lines as they are fetched. This makes the index correspond to the correct line number from the file. (It also means most lines are returned as-is without any logic applied to them, which is nice.) Litter tests/Klocation with continuation lines to get test coverage. Remove some unused functions that were previously inherited from _Feed and remove it as a base class of _FileFeed.
Diffstat (limited to 'tests/Kbase_dir')
0 files changed, 0 insertions, 0 deletions