From 272c4f4fa7d86c46384557ff212d0ce7b34bbc0e Mon Sep 17 00:00:00 2001 From: John Date: Wed, 9 Oct 2024 15:16:01 -0400 Subject: [PATCH] fix tests --- Makefile | 2 +- config/config_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4c927edf..163f6f89 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ $(TOOL_BIN)/combined $(TOOL_BIN)/golangci-lint $(TOOL_BIN)/actionlint: lint: ensure-submodule-initialized lint-cpp lint-go -setup: install-dependencies ensure-submodule-initialized +setup: install-dependencies ensure-submodule-initialized artifact-pull install-dependencies: ifneq (, $(shell which brew)) diff --git a/config/config_test.go b/config/config_test.go index d3f704e7..315a73b3 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -60,7 +60,7 @@ func TestValidate(t *testing.T) { cfgService.Attributes[key] = true _, err := newConfig(cfgService) - msg := fmt.Sprintf("1 error(s) decoding:\n\n* '%s' expected type 'string', got unconvertible type 'bool', value: 'true'", key) + msg := fmt.Sprintf("decoding failed due to the following error(s):\n\n'%s' expected type 'string', got unconvertible type 'bool', value: 'true'", key) expE := newError(msg) test.That(t, err, test.ShouldBeError, expE)