wire: respect -record flag for tests (google/go-cloud#282)
Fixes google/go-cloud#281
This commit is contained in:
17
internal/wire/testdata/Cleanup/want/wire_gen.go
vendored
Normal file
17
internal/wire/testdata/Cleanup/want/wire_gen.go
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// Code generated by Wire. DO NOT EDIT.
|
||||
|
||||
//go:generate wire
|
||||
//+build !wireinject
|
||||
|
||||
package main
|
||||
|
||||
// Injectors from wire.go:
|
||||
|
||||
func injectBar() (*Bar, func()) {
|
||||
foo, cleanup := provideFoo()
|
||||
bar, cleanup2 := provideBar(foo)
|
||||
return bar, func() {
|
||||
cleanup2()
|
||||
cleanup()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user