Commit f8ca55bb by Nick Triller

Fix setting test

parent e74ce724
...@@ -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