Skip to content

Commit

Permalink
Add flagsNyName back
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Oct 22, 2024
1 parent d0309f1 commit f4c5bda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3071,10 +3071,9 @@ func TestFlagsByName(t *testing.T) {

var prev Flag
for _, f := range flags {
if prev == nil {
prev = f
} else {
if prev != nil {
assert.LessOrEqual(t, prev.Names()[0], f.Names()[0])
}
prev = f
}
}

0 comments on commit f4c5bda

Please sign in to comment.