File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ func TestIsFeatureEnabled_WithEnabledFlag(t *testing.T) {
1414 t .Parallel ()
1515
1616 // Create a feature checker that returns true for "test_flag"
17- checker := func (ctx context.Context , flagName string ) (bool , error ) {
17+ checker := func (_ context.Context , flagName string ) (bool , error ) {
1818 return flagName == "test_flag" , nil
1919 }
2020
@@ -63,7 +63,7 @@ func TestIsFeatureEnabled_EmptyFlagName(t *testing.T) {
6363 t .Parallel ()
6464
6565 // Create a feature checker
66- checker := func (ctx context.Context , flagName string ) (bool , error ) {
66+ checker := func (_ context.Context , flagName string ) (bool , error ) {
6767 return true , nil
6868 }
6969
@@ -87,7 +87,7 @@ func TestIsFeatureEnabled_CheckerError(t *testing.T) {
8787 t .Parallel ()
8888
8989 // Create a feature checker that returns an error
90- checker := func (ctx context.Context , flagName string ) (bool , error ) {
90+ checker := func (_ context.Context , flagName string ) (bool , error ) {
9191 return false , errors .New ("checker error" )
9292 }
9393
You can’t perform that action at this time.
0 commit comments