Codebase list golang-github-spf13-viper / d2e6b89
Remove patch "Make test pass with new mitchellh/mapstructure version" which has been applied to upstream 1.3.1. This reverts commit 20a8e644a790d575435bc0143a81a6417fb553f6. Anthony Fok 5 years ago
2 changed file(s) with 0 addition(s) and 23 deletion(s). Raw diff Collapse all Expand all
+0
-22
debian/patches/0001-Make-test-pass-with-new-mitchell-mapstructure-versio.patch less more
0 From: "Dr. Tobias Quathamer" <toddy@debian.org>
1 Date: Thu, 15 Nov 2018 09:41:44 +0100
2 Subject: Make test pass with new mitchellh/mapstructure version
3
4 See https://github.com/spf13/viper/issues/579
5 ---
6 viper_test.go | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/viper_test.go b/viper_test.go
10 index 15966e4..ea0b17a 100644
11 --- a/viper_test.go
12 +++ b/viper_test.go
13 @@ -582,7 +582,7 @@ func TestBindPFlagsStringSlice(t *testing.T) {
14 Expected []string
15 Value string
16 }{
17 - {[]string{}, ""},
18 + {[]string(nil), ""},
19 {[]string{"jeden"}, "jeden"},
20 {[]string{"dwa", "trzy"}, "dwa,trzy"},
21 {[]string{"cztery", "piec , szesc"}, "cztery,\"piec , szesc\""}} {
+0
-1
debian/patches/series less more
0 0001-Make-test-pass-with-new-mitchell-mapstructure-versio.patch