X-Git-Url: https://ruderich.org/simon/gitweb/?p=nsscash%2Fnsscash.git;a=blobdiff_plain;f=main_test.go;fp=main_test.go;h=35845371f6878e7a44c0de11ad58b8390da48916;hp=ffb176f05d5df5dab6b430d75eee9c186eef1226;hb=d946c291618d93e4ab4ad898c1ae317fbe2256e3;hpb=2f775b91b1871aa2eacdb19ead52f8801ba75b29 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)