Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 27fbbf2

Browse files
committed
Fix header and test import
1 parent 78ecf7b commit 27fbbf2

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
15
package foo
26

7+
import "sort"
8+
9+
var _ = sort.Strings
10+
311
// yes, this is dumb, don't use ".go" in your directory names
12+
// See https://github.com/golang/dep/issues/550 for more information

internal/gps/pkgtree/pkgtree_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ func TestListPackages(t *testing.T) {
12961296
P: Package{
12971297
ImportPath: "dotgodir/foo.go",
12981298
Name: "foo",
1299-
Imports: []string{},
1299+
Imports: []string{"sort"},
13001300
},
13011301
},
13021302
},

0 commit comments

Comments
 (0)