fix: allow overridding default string array (#6873)

* fix: allow overridding default string array

* Cleanup code

* fixup! Cleanup code

* fixup! Cleanup code

* fixup! Cleanup code

* fixup! Cleanup code
This commit is contained in:
Ammar Bandukwala
2023-03-29 20:09:20 -05:00
committed by GitHub
parent 1c7adc0ebd
commit 58d650c2bb
6 changed files with 91 additions and 107 deletions

View File

@@ -44,7 +44,7 @@ func TestOption_ToYAML(t *testing.T) {
},
}
err := os.SetDefaults()
err := os.SetDefaults(nil)
require.NoError(t, err)
n, err := os.ToYAML()