magicsock/test: oops, fix a data race in nested-test logf hack.
Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
This commit is contained in:
@ -30,7 +30,6 @@ func UnfixLogs(t *testing.T) {
|
||||
}
|
||||
|
||||
type panicLogWriter struct {
|
||||
t *testing.T
|
||||
}
|
||||
|
||||
func (w *panicLogWriter) Write(b []byte) (int, error) {
|
||||
|
Reference in New Issue
Block a user