Skip to content

Commit

Permalink
fix fflag errcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Dec 31, 2024
1 parent 7c79f43 commit 82ea14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fflag/features_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func TestGetEnabledFeatures(t *testing.T) {
feat1, err := fr.GetFeature("new_standard")
require.NoError(t, err)
err = feat1.Set(true)
require.NoError(t, err)
require.Error(t, err, "the flag is deprecated")

feat2, err := fr.GetFeature("experimental1")
require.NoError(t, err)
Expand Down

0 comments on commit 82ea14d

Please sign in to comment.