Skip to content

Commit

Permalink
Merge branch 'main' into fix-high-level-bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly committed Mar 12, 2024
2 parents 7fe849f + c6560f4 commit de00354
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .release-notes/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Release notes for `TODO`.
- Added test-level catch statements to the `build docs` command template
- Added binding `name` validation markers
- Fixed `build docs` command for files with multiple tests
- Relaxed step file discovery regular expression to allow names with one or more digit prefixes

## ⭐ Examples ⭐

Expand Down
2 changes: 1 addition & 1 deletion pkg/discovery/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"slices"
)

var StepFileName = regexp.MustCompile(`^(\d\d)-(.*)\.(?:yaml|yml)$`)
var StepFileName = regexp.MustCompile(`^(\d+)-(.*)\.(?:yaml|yml)$`)

type Step struct {
AssertFiles []string
Expand Down
6 changes: 6 additions & 0 deletions testdata/e2e/examples/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

*No description*

## Bindings

| # | Name | Value |
|:-:|---|---|
| 1 | `foo` | "(join('-', [$namespace, 'foo']))" |

## Steps

| # | Name | Bindings | Try | Catch | Finally |
Expand Down

0 comments on commit de00354

Please sign in to comment.