Skip to content

Commit

Permalink
Fix typos (#384)
Browse files Browse the repository at this point in the history
szepeviktor authored Dec 19, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 21395c5 commit d8598ea
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
@@ -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]{},
2 changes: 1 addition & 1 deletion retry_test.go
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d8598ea

Please sign in to comment.