Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit c4148b8

Browse files
committed
Add a (failing) test case for using source mode to mock something that depends on a vendored package.
1 parent 69521b3 commit c4148b8

File tree

1 file changed

+1
-0
lines changed
  • mockgen/tests/vendor_dep

1 file changed

+1
-0
lines changed

mockgen/tests/vendor_dep/doc.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
package vendor_dep
22

33
//go:generate mockgen -package vendor_dep -destination mock.go github.com/golang/mock/mockgen/tests/vendor_dep VendorsDep
4+
//go:generate mockgen -destination source_mock_package/mock.go -source=vendor_dep.go

0 commit comments

Comments
 (0)