Skip to content

Commit 4408098

Browse files
committed
✅ fix(gflag): fix a options test check error
1 parent 031895d commit 4408098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gflag/gflag_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ func TestFlags_FromStruct(t *testing.T) {
464464
assert.NoErr(t, err)
465465

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

469469
fmt.Println("Flag Help:")
470470
fs.PrintHelpPanel()

0 commit comments

Comments
 (0)