From: Simon Ruderich Date: Sun, 9 May 2021 09:41:57 +0000 (+0200) Subject: sync: tests: rename triggers to expTriggers X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=commitdiff_plain;h=d12e83d4d64b295b8da5c0506d44e94a330ab272 sync: tests: rename triggers to expTriggers --- diff --git a/cmd/safcm-remote/sync/files_test.go b/cmd/safcm-remote/sync/files_test.go index bd5eac9..6355011 100644 --- a/cmd/safcm-remote/sync/files_test.go +++ b/cmd/safcm-remote/sync/files_test.go @@ -62,7 +62,7 @@ func TestSyncFiles(t *testing.T) { skip bool req safcm.MsgSyncReq prepare func() - triggers []string + expTriggers []string expFiles []ft.File expResp safcm.MsgSyncResp expDbg []string @@ -869,7 +869,7 @@ func TestSyncFiles(t *testing.T) { testutil.AssertEqual(t, "resp", s.resp, tc.expResp) testutil.AssertEqual(t, "triggers", - s.triggers, tc.triggers) + s.triggers, tc.expTriggers) }) }