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

Commit b4761b0

Browse files
committed
Move .m1p tests to dotgodir
These are no longer "disallowed", so having them in that case block is misleading.
1 parent 497ef13 commit b4761b0

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

internal/gps/pkgtree/pkgtree_test.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,18 +1073,6 @@ func TestListPackages(t *testing.T) {
10731073
},
10741074
},
10751075
},
1076-
"disallow/.m1p": {
1077-
P: Package{
1078-
ImportPath: "disallow/.m1p",
1079-
CommentPath: "",
1080-
Name: "m1p",
1081-
Imports: []string{
1082-
"github.com/golang/dep/internal/gps",
1083-
"os",
1084-
"sort",
1085-
},
1086-
},
1087-
},
10881076
"disallow/testdata": {
10891077
P: Package{
10901078
ImportPath: "disallow/testdata",
@@ -1304,6 +1292,18 @@ func TestListPackages(t *testing.T) {
13041292
Imports: []string{"sort"},
13051293
},
13061294
},
1295+
"dotgodir/.m1p": {
1296+
P: Package{
1297+
ImportPath: "dotgodir/.m1p",
1298+
CommentPath: "",
1299+
Name: "m1p",
1300+
Imports: []string{
1301+
"github.com/golang/dep/internal/gps",
1302+
"os",
1303+
"sort",
1304+
},
1305+
},
1306+
},
13071307
},
13081308
},
13091309
},

0 commit comments

Comments
 (0)