Closed
Description
- go version go1.14.4 darwin/amd64
- Visual Studio Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:17:14.222Z)
- Go extension version 0.15.1
- go env
- settings.json
Ensure you're using Go 1.14. Write a test like this one.
func TestBug(t *testing.T) {
for i := 0; i < 5; i++ {
t.Log(i)
time.Sleep(100 * time.Millisecond)
}
}
Invoke the test through the plugin via e.g. Cmd+Shift+P > Go: Test Function At Cursor.
Expected behavior: the numbers 0 through 5 are streamed in real time to the output tab.
Actual behavior: the output tab is activated but blank until the test completes, at which point the complete test output is printed to the tab.