diff --git a/container_test.go b/container_test.go index 2dc091ea..d7f2e9fd 100644 --- a/container_test.go +++ b/container_test.go @@ -581,4 +581,5 @@ func TestZeroValueOnProvide(t *testing.T) { var p *provided assert.NoError(t, c.Resolve(&p), "unexpected error resolving provided type") + assert.NotNil(t, p, "expected constructor to provide non-nil instance") }