Skip to content

Commit ee0bf8d

Browse files
authored
abi/bind: fix typo of 'mismatch'
1 parent f265cc2 commit ee0bf8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accounts/abi/bind/util_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func TestWaitDeployedCornerCases(t *testing.T) {
121121
backend.Commit()
122122
notContentCreation := errors.New("tx is not contract creation")
123123
if _, err := bind.WaitDeployed(ctx, backend, tx); err.Error() != notContentCreation.Error() {
124-
t.Errorf("error missmatch: want %q, got %q, ", notContentCreation, err)
124+
t.Errorf("error mismatch: want %q, got %q, ", notContentCreation, err)
125125
}
126126

127127
// Create a transaction that is not mined.
@@ -131,7 +131,7 @@ func TestWaitDeployedCornerCases(t *testing.T) {
131131
go func() {
132132
contextCanceled := errors.New("context canceled")
133133
if _, err := bind.WaitDeployed(ctx, backend, tx); err.Error() != contextCanceled.Error() {
134-
t.Errorf("error missmatch: want %q, got %q, ", contextCanceled, err)
134+
t.Errorf("error mismatch: want %q, got %q, ", contextCanceled, err)
135135
}
136136
}()
137137

0 commit comments

Comments
 (0)