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

cmd/trace: pkg import only once

Change-Id: Iaaf2e9dbcffb4b1944817b0a4aaecd3554ebfec1
GitHub-Last-Rev: f4ec85a05e
GitHub-Pull-Request: golang/go#67280
Reviewed-on: https://go-review.googlesource.com/c/go/+/584695
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
guoguangwu 2024-05-10 05:20:09 +00:00 committed by Gopher Robot
parent f3a743981d
commit cf6124f807

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)
}