style: gofmt
This commit is contained in:
@@ -27,8 +27,8 @@ func TestLoadStringFromAppSection(t *testing.T) {
|
||||
|
||||
func TestOpenDefaultsEnvToProduction(t *testing.T) {
|
||||
dir := writeConfigTree(t, map[string]string{
|
||||
"app.yaml": "name: base\ndebug: false\n",
|
||||
"env/production/app.yaml": "debug: true\n",
|
||||
"app.yaml": "name: base\ndebug: false\n",
|
||||
"env/production/app.yaml": "debug: true\n",
|
||||
"env/development/app.yaml": "name: dev\n",
|
||||
})
|
||||
cfg, err := Open(Options{Dir: dir, Environ: []string{}})
|
||||
@@ -186,8 +186,8 @@ func TestEnvVarsOverridePluginDefaults(t *testing.T) {
|
||||
|
||||
func TestPriorityRuntimeSetThenPersistThenEnvThenOverlayThenBaseThenPlugin(t *testing.T) {
|
||||
dir := writeConfigTree(t, map[string]string{
|
||||
"app.yaml": "name: base\n",
|
||||
"env/development/app.yaml": "name: overlay\n",
|
||||
"app.yaml": "name: base\n",
|
||||
"env/development/app.yaml": "name: overlay\n",
|
||||
"env/development/overrides.yaml": "app:\n name: persisted\n",
|
||||
})
|
||||
cfg, err := Open(Options{
|
||||
@@ -408,7 +408,7 @@ func TestDotEnvDoesNotOverrideRealEnviron(t *testing.T) {
|
||||
|
||||
func TestDottedPluginNamespaceAndTypedSection(t *testing.T) {
|
||||
dir := writeConfigTree(t, map[string]string{
|
||||
"app.yaml": "name: hello-app\n",
|
||||
"app.yaml": "name: hello-app\n",
|
||||
"golem15.hello.yaml": "from_app: true\n",
|
||||
})
|
||||
cfg, err := Open(Options{Dir: dir, Environ: []string{}})
|
||||
|
||||
Reference in New Issue
Block a user