Browse Source

format code

pull/279/head
tnextday 10 years ago
parent
commit
66825b4b34
  1. 8
      go/storage/collection_settings_test.go

8
go/storage/collection_settings_test.go

@ -1,9 +1,9 @@
package storage
import (
"testing"
"reflect"
"encoding/json"
"reflect"
"testing"
)
func TestCollectionSettings(t *testing.T) {
@ -20,9 +20,9 @@ func TestCollectionSettings(t *testing.T) {
t.Fatal("Value incorrect.")
}
pb := cs1.ToPbMessage()
if buf, e := json.MarshalIndent(pb, "", "\t");e == nil {
if buf, e := json.MarshalIndent(pb, "", "\t"); e == nil {
t.Log(string(buf))
}else{
} else {
t.Fatal(e)
}
cs2 := NewCollectionSettingsFromPbMessage(pb)

Loading…
Cancel
Save