Skip to content

Commit

Permalink
Comments (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
hedhyw authored Jun 24, 2022
1 parent 72be17e commit b64e1a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ gherkingen -help

## Go

```
```bash
go install github.com/hedhyw/gherkingen/v2/cmd/gherkingen@latest
# Notice: gherkingen -version will return "unknown" version.
```

## Source
Expand Down
2 changes: 2 additions & 0 deletions pkg/bdd/bdd.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ func (f *Feature) subBlock(name string, fn func(t *testing.T, f *Feature)) {
}

// Background defines a background block.
//
// Notice: Background is not running for each step.
func (f *Feature) Background(name string, fn func(t *testing.T, f *Feature)) {
f.T.Helper()

Expand Down

0 comments on commit b64e1a9

Please sign in to comment.