aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorDiego Siqueira <DiSiqueira@users.noreply.github.com>2017-02-03 20:32:04 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-02-03 20:32:04 +0800
commit6ea8eba8ce0f203ee99d73f9085939f304ea41c0 (patch)
tree2f3261c6e40a15f23de6d5df1b8c26e091817dc4 /accounts
parentd52b0c32a01b38dc008be563646af2dfbcb392d4 (diff)
downloadgo-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.tar
go-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.tar.gz
go-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.tar.bz2
go-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.tar.lz
go-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.tar.xz
go-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.tar.zst
go-tangerine-6ea8eba8ce0f203ee99d73f9085939f304ea41c0.zip
accounts/abi, internal/jsre/deps: gofmt -w -s (#3636)
Signed-off-by: DiSiqueira <dieg0@live.com>
Diffstat (limited to 'accounts')
-rw-r--r--accounts/abi/type_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/abi/type_test.go b/accounts/abi/type_test.go
index 1557c2a41..155806459 100644
--- a/accounts/abi/type_test.go
+++ b/accounts/abi/type_test.go
@@ -55,8 +55,8 @@ func TestTypeRegexp(t *testing.T) {
{"string[]", Type{IsSlice: true, SliceSize: -1, Kind: reflect.String, T: StringTy, Size: -1, Elem: &Type{Kind: reflect.String, T: StringTy, Size: -1, stringKind: "string"}, stringKind: "string[]"}},
{"string[2]", Type{IsArray: true, SliceSize: 2, Kind: reflect.String, T: StringTy, Size: -1, Elem: &Type{Kind: reflect.String, T: StringTy, Size: -1, stringKind: "string"}, stringKind: "string[2]"}},
{"address", Type{Kind: reflect.Array, Type: address_t, Size: 20, T: AddressTy, stringKind: "address"}},
- {"address[]", Type{IsSlice: true, SliceSize: -1,Kind: reflect.Array, Type:address_t, T: AddressTy, Size:20, Elem: &Type{Kind: reflect.Array, Type: address_t, Size: 20, T: AddressTy, stringKind: "address"}, stringKind: "address[]"}},
- {"address[2]", Type{IsArray: true, SliceSize: 2,Kind: reflect.Array, Type:address_t, T: AddressTy, Size:20, Elem: &Type{Kind: reflect.Array, Type: address_t, Size: 20, T: AddressTy, stringKind: "address"}, stringKind: "address[2]"}},
+ {"address[]", Type{IsSlice: true, SliceSize: -1, Kind: reflect.Array, Type: address_t, T: AddressTy, Size: 20, Elem: &Type{Kind: reflect.Array, Type: address_t, Size: 20, T: AddressTy, stringKind: "address"}, stringKind: "address[]"}},
+ {"address[2]", Type{IsArray: true, SliceSize: 2, Kind: reflect.Array, Type: address_t, T: AddressTy, Size: 20, Elem: &Type{Kind: reflect.Array, Type: address_t, Size: 20, T: AddressTy, stringKind: "address"}, stringKind: "address[2]"}},
// TODO when fixed types are implemented properly
// {"fixed", Type{}},