(t *testing.T)
| 48 | } |
| 49 | |
| 50 | func TestAs(t *testing.T) { |
| 51 | g := core.New() |
| 52 | g.Provide(di.Deps{di.As(ctor, new(Fooer))}) |
| 53 | g.Invoke(func(injected struct { |
| 54 | dig.In |
| 55 | Stub Fooer |
| 56 | }) { |
| 57 | }) |
| 58 | } |
| 59 | |
| 60 | func TestLocationForPC(t *testing.T) { |
| 61 | g := core.New() |