Skip to content

Commit

Permalink
fix: remove superfluous empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
somebadcode committed Feb 11, 2025
1 parent dd20af7 commit de9fde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flag_text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func TestTextFlag(t *testing.T) {

if !slices.Equal(text, []byte("INFO")) {
return errors.New("expected \"INFO\"")

}

return nil
Expand Down Expand Up @@ -112,6 +111,7 @@ func TestTextFlag(t *testing.T) {
require.NoError(t, tt.flag.Apply(set))

err := set.Parse(tt.args)

require.False(t, (err != nil) && !tt.wantErr, tt.name)

if tt.wantErr {
Expand Down

0 comments on commit de9fde3

Please # to comment.