From 632ad7c77e8e057b8dc653aadda749767acb51e1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 9 May 2021 12:34:44 +0200 Subject: [PATCH] config: tests: fix typo in group name --- cmd/safcm/config/groups_test.go | 2 +- cmd/safcm/testdata/group-invalid-missing/groups.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2