From 811f38eaed62a7c1b34815508e56d8eaf86e5a1b Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 28 Dec 2020 17:23:30 +0300 Subject: [PATCH] *: gofmt -s --- pkg/compiler/testdata/multi/file1.go | 2 +- pkg/compiler/testdata/multi/file2.go | 2 +- pkg/core/native_management_test.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/compiler/testdata/multi/file1.go b/pkg/compiler/testdata/multi/file1.go index 9cbe0cd1d..3da813fe7 100644 --- a/pkg/compiler/testdata/multi/file1.go +++ b/pkg/compiler/testdata/multi/file1.go @@ -5,5 +5,5 @@ var SomeVar12 = 12 const SomeConst = 42 func Func1() bool { - return true + return true } diff --git a/pkg/compiler/testdata/multi/file2.go b/pkg/compiler/testdata/multi/file2.go index a96ba78d9..b8af3ddfd 100644 --- a/pkg/compiler/testdata/multi/file2.go +++ b/pkg/compiler/testdata/multi/file2.go @@ -7,5 +7,5 @@ func Sum() int { } func Func2() bool { - return false + return false } diff --git a/pkg/core/native_management_test.go b/pkg/core/native_management_test.go index 3c389d061..ad4a6be68 100644 --- a/pkg/core/native_management_test.go +++ b/pkg/core/native_management_test.go @@ -133,7 +133,7 @@ func TestContractDeploy(t *testing.T) { require.NoError(t, err) var badManifest = cs1.Manifest - badManifest.Groups = []manifest.Group{manifest.Group{PublicKey: pkey.PublicKey(), Signature: make([]byte, 64)}} + badManifest.Groups = []manifest.Group{{PublicKey: pkey.PublicKey(), Signature: make([]byte, 64)}} manifB, err := json.Marshal(badManifest) require.NoError(t, err) @@ -313,7 +313,7 @@ func TestContractUpdate(t *testing.T) { require.NoError(t, err) var badManifest = cs1.Manifest - badManifest.Groups = []manifest.Group{manifest.Group{PublicKey: pkey.PublicKey(), Signature: make([]byte, 64)}} + badManifest.Groups = []manifest.Group{{PublicKey: pkey.PublicKey(), Signature: make([]byte, 64)}} manifB, err := json.Marshal(badManifest) require.NoError(t, err)