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

Commit

Permalink
Add a (failing) test case for using source mode to mock something tha…
Browse files Browse the repository at this point in the history
…t depends on a vendored package.
  • Loading branch information
balshetzer committed Apr 4, 2018
1 parent 69521b3 commit c4148b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mockgen/tests/vendor_dep/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package vendor_dep

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

0 comments on commit c4148b8

Please sign in to comment.