From 66825b4b345d38cad7f6bd04311038ff467f84db Mon Sep 17 00:00:00 2001 From: tnextday Date: Wed, 30 Mar 2016 12:21:06 +0800 Subject: [PATCH] format code --- go/storage/collection_settings_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go/storage/collection_settings_test.go b/go/storage/collection_settings_test.go index 88e35f737..d9bca3245 100644 --- a/go/storage/collection_settings_test.go +++ b/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)