Skip to content

Commit f2b509d

Browse files
authored
accounts/abi/bind: fix typo (#28630)
1 parent fa0df76 commit f2b509d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

accounts/abi/bind/util_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ func TestWaitDeployedCornerCases(t *testing.T) {
119119
defer cancel()
120120
backend.SendTransaction(ctx, tx)
121121
backend.Commit()
122-
notContentCreation := errors.New("tx is not contract creation")
123-
if _, err := bind.WaitDeployed(ctx, backend, tx); err.Error() != notContentCreation.Error() {
124-
t.Errorf("error mismatch: want %q, got %q, ", notContentCreation, err)
122+
notContractCreation := errors.New("tx is not contract creation")
123+
if _, err := bind.WaitDeployed(ctx, backend, tx); err.Error() != notContractCreation.Error() {
124+
t.Errorf("error mismatch: want %q, got %q, ", notContractCreation, err)
125125
}
126126

127127
// Create a transaction that is not mined.

0 commit comments

Comments
 (0)