]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
tests: improve another comment
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 18:38:37 +0000 (20:38 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 18:38:37 +0000 (20:38 +0200)
cmd/safcm-remote/sync/commands_test.go
cmd/safcm-remote/sync/files_test.go
cmd/safcm-remote/sync/packages_debian_test.go
cmd/safcm-remote/sync/services_systemd_test.go
cmd/safcm/sync_sync_test.go

index 9de9bd5bd72ca7e0c41074d8b2b39c3fb0f4000c..f6293b48a99482c34f79a7d27ae764e409d0808f 100644 (file)
@@ -54,7 +54,7 @@ func TestSyncCommands(t *testing.T) {
        }{
 
                // NOTE: Also update MsgSyncResp in safcm test cases when
-               // changing anything here!
+               // changing the MsgSyncResp struct!
 
                {
                        "successful command",
index 27011ac96c3e75bdd9f8fd3130e5bcceda887c20..57d27c7fa8e043b06543387a1a15a720fcdb0755 100644 (file)
@@ -70,7 +70,7 @@ func TestSyncFiles(t *testing.T) {
        }{
 
                // NOTE: Also update MsgSyncResp in safcm test cases when
-               // changing anything here!
+               // changing the MsgSyncResp struct!
 
                // See TestSyncFile() for most file related tests. This
                // function only tests the overall results and triggers.
@@ -917,7 +917,7 @@ func TestSyncFile(t *testing.T) {
        }{
 
                // NOTE: Also update MsgSyncResp in safcm test cases when
-               // changing anything here!
+               // changing the MsgSyncResp struct!
 
                // TODO: Add tests for chown and run them only as root
 
index 0e3411dd661b7350a593289f4bbf0a634cce3c1c..bd54a2fdd5d927ae2372aef4f86161813ccf936f 100644 (file)
@@ -40,7 +40,7 @@ func TestSyncPackagesDebian(t *testing.T) {
        }{
 
                // NOTE: Also update MsgSyncResp in safcm test cases when
-               // changing anything here!
+               // changing the MsgSyncResp struct!
 
                {
                        "packages already installed",
index f4f7f4920c6c61ae703956c65b6069268fb87f4e..e45e79050a17183ee4fe4cf5429ae7ec88a536eb 100644 (file)
@@ -39,7 +39,7 @@ func TestSyncServicesSystemd(t *testing.T) {
        }{
 
                // NOTE: Also update MsgSyncResp in safcm test cases when
-               // changing anything here!
+               // changing the MsgSyncResp struct!
 
                {
                        "no service change necessary",
index 5c415e368e777d71d8952ed1f7e9601f2a528fd2..889aa2f21ad0098e2c14e29f659ee23f5c05a6f6 100644 (file)
@@ -47,7 +47,7 @@ func TestHostSyncReq(t *testing.T) {
        }{
 
                // NOTE: Also update MsgSyncReq in safcm-remote test cases
-               // when changing anything here!
+               // changing the MsgSyncReq struct!
 
                {
                        "project: host1",