internal/coverage/cfile: snapshot test is brittle w/ respect to -coverpkg #67951
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
At tip, if you run the
internal/coverage/cfile
tests with -coverpkg set to something that does include cfile, you get:This is happening because the test is calling out to a function that it expects will bump up the coverage percentage, but that func is not being instrumented.
The test needs to be rewritten to make it a bit more robust.
The text was updated successfully, but these errors were encountered: