Skip to content

Commit

Permalink
fix test to match updated server error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sami-alajrami committed Dec 13, 2023
1 parent ecea9e7 commit 8092926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kosli/beginTrail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (suite *BeginTrailCommandTestSuite) TestBeginTrailCmd() {
wantError: true,
name: "fails when name is considered invalid by the server",
cmd: fmt.Sprintf("begin trail foo?$bar --flow %s %s", suite.flowName, suite.defaultKosliArguments),
golden: "Error: Input payload validation failed: map[name:'foo?$bar' does not match '^[a-zA-Z][a-zA-Z0-9\\\\-_\\\\.~]*$']\n",
golden: "Error: Input payload validation failed: map[name:'foo?$bar' does not match '^[a-zA-Z0-9][a-zA-Z0-9\\\\-_\\\\.~]*$']\n",
},
{
wantError: true,
Expand Down

0 comments on commit 8092926

Please sign in to comment.