*: gofmt -s

This commit is contained in:
Roman Khimov 2020-12-28 17:23:30 +03:00
parent 25435bbb52
commit 811f38eaed
3 changed files with 4 additions and 4 deletions

View file

@ -5,5 +5,5 @@ var SomeVar12 = 12
const SomeConst = 42
func Func1() bool {
return true
return true
}

View file

@ -7,5 +7,5 @@ func Sum() int {
}
func Func2() bool {
return false
return false
}

View file

@ -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)