Closed dtenenba closed 6 years ago
Thank you so much for the detailed reproduction steps! We’ll take a look as soon as we can.
One more data point: my home machine, which has basically the same configuration, does not have this issue. If you like I can provide the atom -v && apm -v
and go env
information for that machine later today.
@dtenenba it looks like github.com/FredHutch/sftpdownloader is no longer accessible. Could you provide the output from your atom -v && apm -v
and go env
from each machine?
Sorry, it's actually sftp_downloader
, with an underscore.
However, it seems like this issue spontaneously resolved itself, not sure if it was rebooting the machine or restarting Atom. If I see it again I will let you know, but until then I'll close this. Thanks for looking into it....
Prerequisites
atom .
from the terminal in your project's directory?go env
is correct? If it is, please include the output in this issue.Description
I have a project with several source files in the same package, along with test files. So for example, I have the following source and test files, all in the
main
package:As you might imagine, main_test.go tests functions in main.go and download_test.go tests functions in download.go.
When I make a change and save, the coverage highlighting is updated in main.go but not in download.go. There is no highlighting in download.go or any file except main.go.
The problem seems to be with go-plus as when I run the following commands I see that some of download.go IS covered by tests.
Output from
atom -v && apm -v
Output From
go env
Steps to Reproduce
Now make a change in download.go (add a space and remove it) and save it.
Expected Behavior
Expect to see some lines in download.go highlighted with red to show they are not covered. For example, line 18 should be highlighted as it is in the HTML report.
Actual Behavior
No lines in download.go are highlighted.
main.go is highlighted correctly.