The internal test support functions require a path and a source string. Typically the path is not very helpful (such as "p.go" or ".") and almost always unhelpful when a test fails.
Instead, if the path is simply the package name of the source, the path doesn't need to be explicitly provided and error reports are more useful. This will simplify writing tests and improve test output, leading to increased development velocity.
Tracking issue.