From 0705557465b178ddc80e178298060f6c4b24bb16 Mon Sep 17 00:00:00 2001 From: Jeremy Schlatter Date: Fri, 28 Sep 2018 13:43:29 -0700 Subject: [PATCH] accounts/abi/bind: no longer need to skip Bind test bind.Bind now works in symlinked environments. --- accounts/abi/bind/bind_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index 0e5b1c1616..cae03ccd04 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -819,15 +819,6 @@ func TestBindings(t *testing.T) { if !common.FileExist(gocmd) { t.Skip("go sdk not found for testing") } - // Skip the test if the go-ethereum sources are symlinked (https://github.com/golang/go/issues/14845) - linkTestCode := fmt.Sprintf("package linktest\nfunc CheckSymlinks(){\nfmt.Println(backends.NewSimulatedBackend(nil,uint64(10000000000)))\n}") - linkTestDeps, err := imports.Process(os.TempDir(), []byte(linkTestCode), nil) - if err != nil { - t.Fatalf("failed check for goimports symlink bug: %v", err) - } - if !strings.Contains(string(linkTestDeps), "go-ethereum") { - t.Skip("symlinked environment doesn't support bind (https://github.com/golang/go/issues/14845)") - } // Create a temporary workspace for the test suite ws, err := ioutil.TempDir("", "") if err != nil {