From 886b911524a2f14bd7fc76e5a7478e0cfb2fc14d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 15 Dec 2019 15:50:27 +0100 Subject: [PATCH] nsscash: main_test: use existing t variable instead of a.t t is set at the beginning of each function. --- main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_test.go b/main_test.go index 4e9a83b..a5c488e 100644 --- a/main_test.go +++ b/main_test.go @@ -327,7 +327,7 @@ func fetchPasswd404(a args) { "status code 404") mustNotExist(t, statePath, plainPath, groupPath) - mustBeOld(a.t, passwdPath) + mustBeOld(t, passwdPath) } func fetchPasswdUnexpected304(a args) { @@ -345,7 +345,7 @@ func fetchPasswdUnexpected304(a args) { "status code 304 but did not send If-Modified-Since") mustNotExist(t, statePath, plainPath, groupPath) - mustBeOld(a.t, passwdPath) + mustBeOld(t, passwdPath) } func fetchPasswdEmpty(a args) { -- 2.43.2