From 0a9258f4c418b70bcfffdcad009dbebfd6d9d9a0 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Wed, 15 Jan 2020 18:49:27 +0100 Subject: [PATCH] abi: fix TestGolangBindings --- abi/bind/bind_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abi/bind/bind_test.go b/abi/bind/bind_test.go index 2470085953..ea9a4a7770 100644 --- a/abi/bind/bind_test.go +++ b/abi/bind/bind_test.go @@ -1646,7 +1646,7 @@ func TestGolangBindings(t *testing.T) { t.Fatalf("failed to convert binding test to modules: %v\n%s", err, out) } 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 if out, err := replacer.CombinedOutput(); err != nil { t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)