Skip to content

Commit 03f7909

Browse files
committed
fix linter
1 parent bb5d7d7 commit 03f7909

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/github/dependencies_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)