AdamNiederer / cov

An emacs extension for displaying coverage data on your code
GNU General Public License v3.0
76 stars 16 forks source link

Use cov-coverage-file in cov--lcov-parser #44

Closed snogge closed 2 years ago

snogge commented 2 years ago

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.

AdamNiederer commented 2 years ago

Looks good, thanks for jumping on this!