1
0
mirror of https://github.com/golang/go synced 2024-11-14 23:30:27 -07:00

cmd/trace: pkg import only once

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-05-10 13:14:55 +08:00
parent 1259a30a58
commit f4ec85a05e

View File

@ -6,7 +6,6 @@ package trace
import (
"bytes"
"internal/trace/v2"
tracev2 "internal/trace/v2"
"internal/trace/v2/testtrace"
"io"
@ -137,7 +136,7 @@ func TestMMUTrace(t *testing.T) {
t.Fatalf("malformed test %s: bad trace file: %v", testPath, err)
}
var events []tracev2.Event
tr, err := trace.NewReader(r)
tr, err := tracev2.NewReader(r)
if err != nil {
t.Fatalf("malformed test %s: bad trace file: %v", testPath, err)
}