Skip to content

Commit

Permalink
Fix typos (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Dec 19, 2023
1 parent 21395c5 commit d8598ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ type transactionStep[T any] struct {
onRollback func(T) T
}

// NewTransaction instanciate a new transaction.
// NewTransaction instantiate a new transaction.
func NewTransaction[T any]() *Transaction[T] {
return &Transaction[T]{
steps: []transactionStep[T]{},
Expand Down
2 changes: 1 addition & 1 deletion retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func TestDebounceBy(t *testing.T) {
mu.Unlock()
}

func TestTransation(t *testing.T) {
func TestTransaction(t *testing.T) {
is := assert.New(t)

// no error
Expand Down

0 comments on commit d8598ea

Please sign in to comment.