]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
config: tests: fix typo in group name
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 10:34:44 +0000 (12:34 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 13:18:45 +0000 (15:18 +0200)
cmd/safcm/config/groups_test.go
cmd/safcm/testdata/group-invalid-missing/groups.yaml

index 7c3dd483393e9dbb5791004633358912c705285b..2c9658baba4bf940942aa147b6fb78a124c1e079 100644 (file)
@@ -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",
index be700b7d80e6fe931902488c6a34cf732701cd06..1e5d8187ae30c38d3d6b4f366864a9b3be062a3e 100644 (file)
@@ -1,2 +1,2 @@
-1group2:
+group2:
   - does-not-exist