From: Simon Ruderich Date: Sun, 15 Dec 2019 14:53:16 +0000 (+0100) Subject: nsscash: main_test: use configPath variable X-Git-Tag: 0.1~1 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d946c291618d93e4ab4ad898c1ae317fbe2256e3;p=nsscash%2Fnsscash.git nsscash: main_test: use configPath variable --- diff --git a/main_test.go b/main_test.go index ffb176f..3584537 100644 --- a/main_test.go +++ b/main_test.go @@ -888,7 +888,7 @@ password = "%[6]s" err = mainFetch(configPath) mustBeErrorWithSubstring(t, err, "file[0].username/passsword in use and unsafe permissions "+ - "-rw-r--r-- on \"testdata/config.toml\"") + "-rw-r--r-- on \""+configPath+"\"") mustNotExist(t, statePath, groupPath, plainPath) mustBeOld(t, passwdPath)