Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599699b commit c2a96bdCopy full SHA for c2a96bd
cli/clibase/option_test.go
@@ -133,7 +133,7 @@ func TestOptionSet_ParseEnv(t *testing.T) {
133
},
134
}
135
136
- err := os.SetDefaults()
+ err := os.SetDefaults(nil)
137
require.NoError(t, err)
138
139
err = os.ParseEnv([]clibase.EnvVar{
@@ -157,7 +157,7 @@ func TestOptionSet_ParseEnv(t *testing.T) {
157
158
159
160
161
162
163
0 commit comments