Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnN193 committed Oct 9, 2024
1 parent fe0aedf commit 272c4f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 272c4f4

Please sign in to comment.