Commit ccf3cb5c by Marcus Efraimsson Committed by GitHub

Merge pull request #13307 from Nick-Triller/fix_setting_test

Fix setting test
parents e74ce724 f8ca55bb
...@@ -130,7 +130,7 @@ func TestLoadingSettings(t *testing.T) { ...@@ -130,7 +130,7 @@ func TestLoadingSettings(t *testing.T) {
cfg := NewCfg() cfg := NewCfg()
cfg.Load(&CommandLineArgs{ cfg.Load(&CommandLineArgs{
HomePath: "../../", HomePath: "../../",
Config: filepath.Join(HomePath, "tests/config-files/override_windows.ini"), Config: filepath.Join(HomePath, "pkg/setting/testdata/override_windows.ini"),
Args: []string{`cfg:paths.data=c:\tmp\data`}, Args: []string{`cfg:paths.data=c:\tmp\data`},
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment