Skip to content

Commit 77bdfab

Browse files
authored
Merge pull request #1979 from urfave/v1-update-deps
Update dependencies in v1-maint
2 parents 1c29f69 + e33bf2d commit 77bdfab

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

fish_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func expectFileContent(t *testing.T, file, expected string) {
7272
data, err := os.ReadFile(file)
7373
require.Nil(t, err)
7474

75-
require.Equal(t, strings.ReplaceAll(string(data), "\r\n", "\n"), expected)
75+
require.Equal(t, strings.TrimSpace(expected), strings.TrimSpace(strings.ReplaceAll(string(data), "\r\n", "\n")))
7676
}
7777

7878
func TestFishCompletion(t *testing.T) {

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/urfave/cli
33
go 1.11
44

55
require (
6-
github.com/BurntSushi/toml v1.3.2
7-
github.com/cpuguy83/go-md2man/v2 v2.0.4
6+
github.com/BurntSushi/toml v1.4.0
7+
github.com/cpuguy83/go-md2man/v2 v2.0.5
88
github.com/stretchr/testify v1.9.0
99
gopkg.in/yaml.v2 v2.4.0
1010
)

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
22
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
3+
github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0=
4+
github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
35
github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=
46
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
7+
github.com/cpuguy83/go-md2man/v2 v2.0.5 h1:ZtcqGrnekaHpVLArFSe4HK5DoKx1T0rq2DwVB0alcyc=
8+
github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
59
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
610
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
711
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

testdata/expected-doc-full.man

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
.SH Harrison
55

66
.SH NAME
7-
.PP
8-
greet - Some app
7+
greet \- Some app
98

109

1110
.SH SYNOPSIS
12-
.PP
1311
greet
1412

1513
.EX
@@ -20,7 +18,6 @@ greet
2018

2119

2220
.SH DESCRIPTION
23-
.PP
2421
app [first_arg] [second_arg]
2522

2623
.PP
@@ -32,7 +29,6 @@ greet [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
3229

3330

3431
.SH GLOBAL OPTIONS
35-
.PP
3632
\fB--another-flag, -b\fP: another usage text
3733

3834
.PP
@@ -44,7 +40,6 @@ greet [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
4440

4541
.SH COMMANDS
4642
.SH config, c
47-
.PP
4843
another usage test
4944

5045
.PP
@@ -54,7 +49,6 @@ another usage test
5449
\fB--flag, --fl, -f\fP="":
5550

5651
.SS sub-config, s, ss
57-
.PP
5852
another usage test
5953

6054
.PP
@@ -64,7 +58,6 @@ another usage test
6458
\fB--sub-flag, --sub-fl, -s\fP="":
6559

6660
.SH info, i, in
67-
.PP
6861
retrieve generic information
6962

70-
.SH some-command
63+
.SH some-command

0 commit comments

Comments
 (0)