From 1a84c0119249e0af0185bd35286984030a132c15 Mon Sep 17 00:00:00 2001 From: William Dumont Date: Fri, 15 Nov 2024 13:34:37 +0100 Subject: [PATCH] update error msg in test --- internal/component/otelcol/receiver/solace/solace_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/component/otelcol/receiver/solace/solace_test.go b/internal/component/otelcol/receiver/solace/solace_test.go index 59d53e3a95..fc1fb6f708 100644 --- a/internal/component/otelcol/receiver/solace/solace_test.go +++ b/internal/component/otelcol/receiver/solace/solace_test.go @@ -163,7 +163,7 @@ func TestArguments_Validate(t *testing.T) { auth {} output {} `, - expectedError: "the auth block must contain either a sasl_plain block, a sasl_xauth2 block or a sasl_external block", + expectedError: "the auth block must contain exactly one of sasl_plain block, sasl_xauth2 block or sasl_external block", }, { testName: "Multiple Auth", @@ -181,7 +181,7 @@ func TestArguments_Validate(t *testing.T) { } output {} `, - expectedError: "the auth block must contain either a sasl_plain block, a sasl_xauth2 block or a sasl_external block", + expectedError: "the auth block must contain exactly one of sasl_plain block, sasl_xauth2 block or sasl_external block", }, { testName: "Empty Queue",