We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fdce07 commit aae4bacCopy full SHA for aae4bac
to_delete_test.go
@@ -3,11 +3,12 @@ package ffclient_test
3
import (
4
"testing"
5
6
+ "github.com/stretchr/testify/assert"
7
"github.com/thomaspoignant/go-feature-flag/modules/core"
8
"github.com/thomaspoignant/go-feature-flag/modules/evaluation"
9
)
10
11
func TestToDelete(t *testing.T) {
- core.Core()
12
- evaluation.Evaluation()
+ assert.Panics(t, func() { core.Core() }, "core.Core() should panic")
13
+ assert.Panics(t, func() { evaluation.Evaluation() }, "evaluation.Evaluation() should panic")
14
}
0 commit comments