]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
sync: tests: go fmt
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 09:42:31 +0000 (11:42 +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 635501195860b35b79333213d96f5aa6510ecf77..11d386d59f09edaa7e768d442e711ac2951ea71b 100644 (file)
@@ -58,15 +58,15 @@ func TestSyncFiles(t *testing.T) {
        tmpTestFilePath := "/tmp/safcm-sync-files-test-file"
 
        tests := []struct {
-               name     string
-               skip     bool
-               req      safcm.MsgSyncReq
-               prepare  func()
+               name        string
+               skip        bool
+               req         safcm.MsgSyncReq
+               prepare     func()
                expTriggers []string
-               expFiles []ft.File
-               expResp  safcm.MsgSyncResp
-               expDbg   []string
-               expErr   error
+               expFiles    []ft.File
+               expResp     safcm.MsgSyncResp
+               expDbg      []string
+               expErr      error
        }{
 
                // NOTE: Also update MsgSyncResp in safcm test cases when