You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
cespare
changed the title
testing: with race detector on, calling TB.Helper shows the wrong line number
testing: with race detector on, using TB.Helper yields the wrong line number
Aug 25, 2017
Using go1.9 linux/amd64.
If you call testing.TB.Helper (i.e., through the interface), it prints an autogenerated line number when running with -race:
gives
Bug pointed out on golang-nuts by @lukasmalkmus.
The text was updated successfully, but these errors were encountered: