From f4ec85a05e54c2f403cabc4c6458cd2f396e183d Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Fri, 10 May 2024 13:14:55 +0800 Subject: [PATCH] cmd/trace: pkg import only once Signed-off-by: guoguangwu --- src/internal/trace/gc_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/internal/trace/gc_test.go b/src/internal/trace/gc_test.go index 4bbf1604f5..8c9f77f57a 100644 --- a/src/internal/trace/gc_test.go +++ b/src/internal/trace/gc_test.go @@ -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) }