From 9d6501779887223d71313a820ddbb86eb2509b76 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 16 Sep 2021 18:29:32 +0200 Subject: [PATCH] config: fix puppetdb tests This PR fixes the tests in main. The last merge introduced a failing test in the config package. Signed-off-by: Julien Pivotto --- config/config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config_test.go b/config/config_test.go index 22e48e449..6db46a2b5 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1297,7 +1297,7 @@ var expectedErrors = []struct { }, { filename: "puppetdb_no_url.bad.yml", - errMsg: "url missing", + errMsg: "URL is missing", }, { filename: "puppetdb_bad_url.bad.yml", @@ -1305,7 +1305,7 @@ var expectedErrors = []struct { }, { filename: "puppetdb_no_scheme.bad.yml", - errMsg: "url scheme must be http or https", + errMsg: "URL scheme must be 'http' or 'https'", }, { filename: "hetzner_role.bad.yml",