Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Apr 17, 2023
1 parent 57cbb2d commit a78aa8c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions fish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ func testApp() *App {
app.Name = "greet"
app.Flags = []Flag{
&StringFlag{
Name: "socket",
Aliases: []string{"s"},
Usage: "some 'usage' text",
Value: "value",
TakesFile: true,
Name: "socket",
Aliases: []string{"s"},
Usage: "some 'usage' text",
Value: "value",
DefaultText: "svalue",
TakesFile: true,
},
&StringFlag{Name: "flag", Aliases: []string{"fl", "f"}},
&BoolFlag{
Expand Down
2 changes: 1 addition & 1 deletion testdata/expected-doc-full.man
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ app [first_arg] [second_arg]
\fB--flag, --fl, -f\fP="":

.PP
\fB--socket, -s\fP="": some 'usage' text (default: value)
\fB--socket, -s\fP="": some 'usage' text (default: svalue)


.SH COMMANDS
Expand Down
2 changes: 1 addition & 1 deletion testdata/expected-doc-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ app [first_arg] [second_arg]

**--flag, --fl, -f**="":

**--socket, -s**="": some 'usage' text (default: value)
**--socket, -s**="": some 'usage' text (default: svalue)


# COMMANDS
Expand Down
2 changes: 1 addition & 1 deletion testdata/expected-doc-no-authors.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ app [first_arg] [second_arg]

**--flag, --fl, -f**="":

**--socket, -s**="": some 'usage' text (default: value)
**--socket, -s**="": some 'usage' text (default: svalue)


# COMMANDS
Expand Down
2 changes: 1 addition & 1 deletion testdata/expected-doc-no-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ app [first_arg] [second_arg]

**--flag, --fl, -f**="":

**--socket, -s**="": some 'usage' text (default: value)
**--socket, -s**="": some 'usage' text (default: svalue)

2 changes: 1 addition & 1 deletion testdata/expected-doc-no-usagetext.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ greet [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]

**--flag, --fl, -f**="":

**--socket, -s**="": some 'usage' text (default: value)
**--socket, -s**="": some 'usage' text (default: svalue)


# COMMANDS
Expand Down

0 comments on commit a78aa8c

Please sign in to comment.