mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
bind: Fix unit tests
This commit is contained in:
parent
22a0f8f587
commit
178939c1d1
1 changed files with 2 additions and 2 deletions
|
|
@ -1170,7 +1170,7 @@ func TestGolangBindings(t *testing.T) {
|
|||
// Generate the test suite for all the contracts
|
||||
for i, tt := range bindTests {
|
||||
// Generate the binding and create a Go source file in the workspace
|
||||
bind, err := Bind([]string{tt.name}, []string{tt.abi}, []string{tt.bytecode}, tt.fsigs, "bindtest", LangGo)
|
||||
bind, err := Bind([]string{tt.name}, []string{tt.abi}, []string{tt.bytecode}, tt.fsigs, "bindtest", LangGo, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("test %d: failed to generate binding: %v", i, err)
|
||||
}
|
||||
|
|
@ -1591,7 +1591,7 @@ public class Test {
|
|||
},
|
||||
}
|
||||
for i, c := range cases {
|
||||
binding, err := Bind([]string{c.name}, []string{c.abi}, []string{c.bytecode}, nil, "bindtest", LangJava)
|
||||
binding, err := Bind([]string{c.name}, []string{c.abi}, []string{c.bytecode}, nil, "bindtest", LangJava, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("test %d: failed to generate binding: %v", i, err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue