]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
sync: tests: rename triggers to expTriggers
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 09:41:57 +0000 (11:41 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 13:15:43 +0000 (15:15 +0200)
cmd/safcm-remote/sync/files_test.go

index bd5eac9930c31b8978efe8060f491dd859b9d604..635501195860b35b79333213d96f5aa6510ecf77 100644 (file)
@@ -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)
                })
        }