Skip to content

Commit

Permalink
✅ fix(gflag): fix a options test check error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Feb 2, 2023
1 parent 031895d commit 4408098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gflag/gflag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func TestFlags_FromStruct(t *testing.T) {
assert.NoErr(t, err)

help := fs.String()
assert.Contains(t, help, "-o, -h, --str1")
assert.Contains(t, help, "-h, -o, --str1")

fmt.Println("Flag Help:")
fs.PrintHelpPanel()
Expand Down

0 comments on commit 4408098

Please sign in to comment.