Change cov--lcov-parse to use cov-coverage-file and change the tests
to set that variable. Fixes #42.
cov--lcov-parse assumed that the coverage data buffer was visiting the
coverage data file, which would mean that buffer-file-name could be
used. That was and is not the case, but the lcov parser tests uses
cov--with-test-buffer which does visit the files.
Change cov--lcov-parse to use cov-coverage-file and change the tests to set that variable. Fixes #42.
cov--lcov-parse assumed that the coverage data buffer was visiting the coverage data file, which would mean that buffer-file-name could be used. That was and is not the case, but the lcov parser tests uses cov--with-test-buffer which does visit the files.