mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
abi: fix TestGolangBindings
This commit is contained in:
parent
96cb7b478d
commit
0a9258f4c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1646,7 +1646,7 @@ func TestGolangBindings(t *testing.T) {
|
||||||
t.Fatalf("failed to convert binding test to modules: %v\n%s", err, out)
|
t.Fatalf("failed to convert binding test to modules: %v\n%s", err, out)
|
||||||
}
|
}
|
||||||
pwd, _ := os.Getwd()
|
pwd, _ := os.Getwd()
|
||||||
replacer := exec.Command(gocmd, "mod", "edit", "-replace", "github.com/ethereum/go-ethereum="+filepath.Join(pwd, "..", "..", "..")) // Repo root
|
replacer := exec.Command(gocmd, "mod", "edit", "-replace", "github.com/ethereum/go-ethereum="+filepath.Join(pwd, "..", "..")) // Repo root
|
||||||
replacer.Dir = pkg
|
replacer.Dir = pkg
|
||||||
if out, err := replacer.CombinedOutput(); err != nil {
|
if out, err := replacer.CombinedOutput(); err != nil {
|
||||||
t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)
|
t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue