aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2017-11-08 18:45:52 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-11-08 18:45:52 +0800
commit9619a610248e9630968ba1d9be8e214b645c9c55 (patch)
tree5844cfbee9a0ac5750dcc803cea461f75969f74e /accounts/abi
parentbfdc0fa3622d7c3b421d2f5a6dda5746be41bfde (diff)
downloadgo-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar
go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.gz
go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.bz2
go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.lz
go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.xz
go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.zst
go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.zip
all: gofmt -w -s (#15419)
Diffstat (limited to 'accounts/abi')
-rw-r--r--accounts/abi/bind/bind_test.go2
-rw-r--r--accounts/abi/unpack_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go
index 17b221642..43ed53b92 100644
--- a/accounts/abi/bind/bind_test.go
+++ b/accounts/abi/bind/bind_test.go
@@ -472,7 +472,7 @@ func TestBindings(t *testing.T) {
t.Fatalf("failed to create temporary workspace: %v", err)
}
defer os.RemoveAll(ws)
-
+
pkg := filepath.Join(ws, "bindtest")
if err = os.MkdirAll(pkg, 0700); err != nil {
t.Fatalf("failed to create package: %v", err)
diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go
index 9c7c339f3..294908378 100644
--- a/accounts/abi/unpack_test.go
+++ b/accounts/abi/unpack_test.go
@@ -365,7 +365,7 @@ func TestUnmarshal(t *testing.T) {
buff.Write(common.Hex2Bytes("0102000000000000000000000000000000000000000000000000000000000000"))
err = abi.Unpack(&mixedBytes, "mixedBytes", buff.Bytes())
- if err !=nil {
+ if err != nil {
t.Error(err)
} else {
if bytes.Compare(p0, p0Exp) != 0 {