Codebase list golang-github-spf13-viper / 962c188
Revert "Add patch to fix test with mapstructure 1.3.2" This reverts commit e7751b60af66d1db2889a8d6c6381472f5538709. Anthony Fok 2 years ago
2 changed file(s) with 0 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
+0
-31
debian/patches/0001-disable-nil-slice-test.patch less more
0 From: Shengjing Zhu <zhsj@debian.org>
1 Date: Sat, 27 Jun 2020 19:35:27 +0800
2 Subject: disable nil slice test
3
4 To work with golang-github-mitchellh-mapstructure/1.3.2
5
6 Forwarded: no
7 ---
8 viper_test.go | 2 --
9 1 file changed, 2 deletions(-)
10
11 diff --git a/viper_test.go b/viper_test.go
12 index fe942de..80a98ef 100644
13 --- a/viper_test.go
14 +++ b/viper_test.go
15 @@ -864,7 +864,6 @@ func TestBindPFlagsStringSlice(t *testing.T) {
16 Expected []string
17 Value string
18 }{
19 - {nil, ""},
20 {[]string{"jeden"}, "jeden"},
21 {[]string{"dwa", "trzy"}, "dwa,trzy"},
22 {[]string{"cztery", "piec , szesc"}, "cztery,\"piec , szesc\""},
23 @@ -910,7 +909,6 @@ func TestBindPFlagsIntSlice(t *testing.T) {
24 Expected []int
25 Value string
26 }{
27 - {nil, ""},
28 {[]int{1}, "1"},
29 {[]int{2, 3}, "2,3"},
30 }
+0
-1
debian/patches/series less more
0 0001-disable-nil-slice-test.patch