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

Commit

Permalink
Move .m1p tests to dotgodir
Browse files Browse the repository at this point in the history
These are no longer "disallowed", so having them in that case block is
misleading.
  • Loading branch information
ascandella committed May 12, 2017
1 parent 497ef13 commit b4761b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions internal/gps/pkgtree/pkgtree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1073,18 +1073,6 @@ func TestListPackages(t *testing.T) {
},
},
},
"disallow/.m1p": {
P: Package{
ImportPath: "disallow/.m1p",
CommentPath: "",
Name: "m1p",
Imports: []string{
"github.com/golang/dep/internal/gps",
"os",
"sort",
},
},
},
"disallow/testdata": {
P: Package{
ImportPath: "disallow/testdata",
Expand Down Expand Up @@ -1304,6 +1292,18 @@ func TestListPackages(t *testing.T) {
Imports: []string{"sort"},
},
},
"dotgodir/.m1p": {
P: Package{
ImportPath: "dotgodir/.m1p",
CommentPath: "",
Name: "m1p",
Imports: []string{
"github.com/golang/dep/internal/gps",
"os",
"sort",
},
},
},
},
},
},
Expand Down

0 comments on commit b4761b0

Please sign in to comment.