diff options
| author | nkbai <nkbai@163.com> | 2017-09-08 05:34:45 +0800 |
|---|---|---|
| committer | Felix Lange <fjl@users.noreply.github.com> | 2017-09-08 05:34:45 +0800 |
| commit | 5ba9225fe3b06d5512976b808bc87d92d03d54ba (patch) | |
| tree | d93f34adda4701e6de961afce2e7fbb12e876ac7 /accounts/abi/bind/bind_test.go | |
| parent | fc87bc5f523ad78974e0a6ce1c5651b98a1e8a52 (diff) | |
| download | go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.tar go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.tar.gz go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.tar.bz2 go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.tar.lz go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.tar.xz go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.tar.zst go-tangerine-5ba9225fe3b06d5512976b808bc87d92d03d54ba.zip | |
accounts/abi/bind: pass non-empty directory when calling goimports (#15070)
Diffstat (limited to 'accounts/abi/bind/bind_test.go')
| -rw-r--r-- | accounts/abi/bind/bind_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index 8ea3eca41..43ed53b92 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -459,7 +459,7 @@ func TestBindings(t *testing.T) { } // 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))\n}") - linkTestDeps, err := imports.Process("", []byte(linkTestCode), nil) + linkTestDeps, err := imports.Process(os.TempDir(), []byte(linkTestCode), nil) if err != nil { t.Fatalf("failed check for goimports symlink bug: %v", err) } |
