From: Simon Ruderich Date: Sun, 9 May 2021 10:34:44 +0000 (+0200) Subject: config: tests: fix typo in group name X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=632ad7c77e8e057b8dc653aadda749767acb51e1;p=safcm%2Fsafcm.git config: tests: fix typo in group name --- diff --git a/cmd/safcm/config/groups_test.go b/cmd/safcm/config/groups_test.go index 7c3dd48..2c9658b 100644 --- a/cmd/safcm/config/groups_test.go +++ b/cmd/safcm/config/groups_test.go @@ -186,7 +186,7 @@ func TestLoadGroups(t *testing.T) { &Config{}, &Hosts{}, nil, - fmt.Errorf("groups.yaml: group \"1group2\": member \"does-not-exist\" not found"), + fmt.Errorf("groups.yaml: group \"group2\": member \"does-not-exist\" not found"), }, { "../testdata/group-invalid-name", diff --git a/cmd/safcm/testdata/group-invalid-missing/groups.yaml b/cmd/safcm/testdata/group-invalid-missing/groups.yaml index be700b7..1e5d818 100644 --- a/cmd/safcm/testdata/group-invalid-missing/groups.yaml +++ b/cmd/safcm/testdata/group-invalid-missing/groups.yaml @@ -1,2 +1,2 @@ -1group2: +group2: - does-not-exist