Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/kosli/beginTrail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (suite *BeginTrailCommandTestSuite) TestBeginTrailCmd() {
wantError: true,
name: "beginning a trail with an invalid template fails",
cmd: fmt.Sprintf("begin trail test-123 --flow %s --template-file testdata/invalid_template.yml %s", suite.flowName, suite.defaultKosliArguments),
goldenRegex: "Error: 3 validation errors for Template\n.*",
goldenRegex: "Error: .* validation errors for Template\n.*",
},
{
name: "can begin a trail with a valid template",
Expand Down
4 changes: 2 additions & 2 deletions cmd/kosli/testdata/invalid_template.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 1
trail:
trail:
attestations:
- name: foo
type: not-supported
type: not-supported
Loading