(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func Test_integration(t *testing.T) { |
| 29 | defer func() { |
| 30 | if r := recover(); r != nil { |
| 31 | return |
| 32 | } |
| 33 | t.Errorf("test should panic. the config is not valid.") |
| 34 | }() |
| 35 | c := core.Default() |
| 36 | c.Provide(di.Deps{ |
| 37 | provideConfig, |
| 38 | }) |
| 39 | c.AddModuleFunc(config.New) |
| 40 | } |
nothing calls this directly
no test coverage detected