Skip to content

Commit

Permalink
update error msg in test
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Nov 15, 2024
1 parent 92696c1 commit 1a84c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/component/otelcol/receiver/solace/solace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 1a84c01

Please sign in to comment.