Update bind_test.go

This commit is contained in:
BorkBorked 2023-12-02 01:24:48 +01:00 committed by GitHub
parent 253b63ebc1
commit c6da119050
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1677,7 +1677,7 @@ var bindTests = []struct {
} }
sim.Commit() sim.Commit()
// This test the existence of the free retreiver call for view and pure functions // This test the existence of the free retriever call for view and pure functions
if num, err := pav.PureFunc(nil); err != nil { if num, err := pav.PureFunc(nil); err != nil {
t.Fatalf("Failed to call anonymous field retriever: %v", err) t.Fatalf("Failed to call anonymous field retriever: %v", err)
} else if num.Cmp(big.NewInt(42)) != 0 { } else if num.Cmp(big.NewInt(42)) != 0 {