mirror of
https://github.com/golang/go
synced 2024-11-15 01:40:25 -07:00
cmd/trace: pkg import only once
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
1259a30a58
commit
f4ec85a05e
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user