Skip to content

Commit 719cb03

Browse files
Gofmt
1 parent bbbec22 commit 719cb03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernel/permission/acl/bucket/account_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestAccountBucket_SetAccountACL(t *testing.T) {
101101
t.Errorf("AccountBucket.SetAccountACL() error = %v, wantErr %v", err, tt.wantErr)
102102
}
103103
got := b.DB.(mockContext).Account
104-
if !tt.wantErr && !reflect.DeepEqual(got, tt.want){
104+
if !tt.wantErr && !reflect.DeepEqual(got, tt.want) {
105105
t.Errorf("AccountBucket.SetAccountACL(), DB = %v, want %v", got, tt.want)
106106
}
107107
})

kernel/permission/acl/bucket/context_mock_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (m mockContext) Put(bucket string, key, value []byte) error {
7070
}
7171
m.Account[k] = value
7272
case utils.GetContractBucket():
73-
if strings.HasPrefix(k,"Contract_put_error") {
73+
if strings.HasPrefix(k, "Contract_put_error") {
7474
return errors.New(k)
7575
}
7676
m.Contract[k] = value

0 commit comments

Comments
 (0)