diff --git a/to_delete_test.go b/to_delete_test.go index 9c7e3b31f59..ac8d9e6dc5d 100644 --- a/to_delete_test.go +++ b/to_delete_test.go @@ -3,11 +3,12 @@ package ffclient_test import ( "testing" + "github.com/stretchr/testify/assert" "github.com/thomaspoignant/go-feature-flag/modules/core" "github.com/thomaspoignant/go-feature-flag/modules/evaluation" ) func TestToDelete(t *testing.T) { - core.Core() - evaluation.Evaluation() + assert.Panics(t, func() { core.Core() }, "core.Core() should panic") + assert.Panics(t, func() { evaluation.Evaluation() }, "evaluation.Evaluation() should panic") }