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 e4e926e commit 3dfa496Copy full SHA for 3dfa496
config/config_linux_test.go
@@ -62,7 +62,10 @@ func TestIfHomeDoesNotContainConfigTheDefaultConfigAreCopied(t *testing.T) {
62
63
os.Unsetenv("ARDUINO_CREATE_AGENT_CONFIG")
64
// we want to test the case when the config does not exist in the home directory
65
- os.Remove("./testdata/home-without-config/.config/ArduinoCreateAgent/config.ini")
+ err := os.Remove("./testdata/home-without-config/.config/ArduinoCreateAgent/config.ini")
66
+ if err != nil {
67
+ t.Fatal(err)
68
+ }
69
70
configPath := GetConfigPath()
71
0 commit comments