Skip to content

Commit c2a96bd

Browse files
committed
fix: compilation failure with (*OptionSet).SetDefaults
This slipped through CI due to a merge race.
1 parent 599699b commit c2a96bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/clibase/option_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func TestOptionSet_ParseEnv(t *testing.T) {
133133
},
134134
}
135135

136-
err := os.SetDefaults()
136+
err := os.SetDefaults(nil)
137137
require.NoError(t, err)
138138

139139
err = os.ParseEnv([]clibase.EnvVar{
@@ -157,7 +157,7 @@ func TestOptionSet_ParseEnv(t *testing.T) {
157157
},
158158
}
159159

160-
err := os.SetDefaults()
160+
err := os.SetDefaults(nil)
161161
require.NoError(t, err)
162162

163163
err = os.ParseEnv([]clibase.EnvVar{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy