Hi vscode-go developers! I've taken your function for expanding file paths in go test output into my plugin and found a bug there. Steps to reproduce: 1. Create test with subtest and error output, i.e. ``` func TestIt(t *testing.T) { t.Run("SubTest", func(tin *testing.T) { tin.Error("Hi, i am not expanded") }) } ``` 2. Launch test. 3. Look at path in output. It's not expanded ``` --- FAIL: TestIt (0.00s) --- FAIL: TestIt/SubTest (0.00s) goissue_test.go:7: Hi, i am not expanded ``` Expected: `goissue_test.go:7` -> `/Users/user/go/src/github.com/user/goissue/goissue_test.go:7`
Hi vscode-go developers! I've taken your function for expanding file paths in go test output into my plugin and found a bug there.
Steps to reproduce:
Launch test.
Look at path in output. It's not expanded
Expected:
goissue_test.go:7->/Users/user/go/src/github.com/user/goissue/goissue_test.go:7