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

Move bad go code under a vendor/ subdirectory. #1253

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions internal/gps/_testdata/src/canon_confl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The packages inside `vendor/` directoy contain bad go code. This "vendor"
directory exists to avoid its content from being parsed by ListPackages when
running on the whole dep code base.
2 changes: 1 addition & 1 deletion internal/gps/pkgtree/pkgtree_test.go
Original file line number Diff line number Diff line change
@@ -1315,7 +1315,7 @@ func TestListPackages(t *testing.T) {
},
},
"conflicting canonical comments": {
fileRoot: j("canon_confl"),
fileRoot: j("canon_confl", "vendor", "canon_confl"),
importRoot: "canon_confl",
out: PackageTree{},
err: &ConflictingImportComments{