*: gofmt -s
This commit is contained in:
parent
25435bbb52
commit
811f38eaed
3 changed files with 4 additions and 4 deletions
2
pkg/compiler/testdata/multi/file1.go
vendored
2
pkg/compiler/testdata/multi/file1.go
vendored
|
@ -5,5 +5,5 @@ var SomeVar12 = 12
|
|||
const SomeConst = 42
|
||||
|
||||
func Func1() bool {
|
||||
return true
|
||||
return true
|
||||
}
|
||||
|
|
2
pkg/compiler/testdata/multi/file2.go
vendored
2
pkg/compiler/testdata/multi/file2.go
vendored
|
@ -7,5 +7,5 @@ func Sum() int {
|
|||
}
|
||||
|
||||
func Func2() bool {
|
||||
return false
|
||||
return false
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue