mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
fix lint
This commit is contained in:
parent
c0e1c8b2b1
commit
868f082f82
1 changed files with 2 additions and 2 deletions
|
|
@ -2081,8 +2081,8 @@ func TestBindings(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a temporary workspace for the test suite
|
// Create a temporary workspace for the test suite
|
||||||
ws, _ := os.MkdirTemp("", "abigen")
|
path := t.TempDir()
|
||||||
pkg := filepath.Join(ws, "bindtest")
|
pkg := filepath.Join(path, "bindtest")
|
||||||
if err := os.MkdirAll(pkg, 0700); err != nil {
|
if err := os.MkdirAll(pkg, 0700); err != nil {
|
||||||
t.Fatalf("failed to create package: %v", err)
|
t.Fatalf("failed to create package: %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue