diff --git a/admin_test.go b/admin_test.go index 04744f8c..0bf985f2 100644 --- a/admin_test.go +++ b/admin_test.go @@ -1,8 +1,8 @@ package beego import ( - "testing" "fmt" + "testing" ) func TestList_01(t *testing.T) { @@ -11,8 +11,8 @@ func TestList_01(t *testing.T) { t.Log(m) om := oldMap() for k, v := range om { - if fmt.Sprint(m[k])!= fmt.Sprint(v) { - t.Log(k, "old-key",v,"new-key", m[k]) + if fmt.Sprint(m[k]) != fmt.Sprint(v) { + t.Log(k, "old-key", v, "new-key", m[k]) t.FailNow() } } diff --git a/config_test.go b/config_test.go index c9576afd..c1973f7b 100644 --- a/config_test.go +++ b/config_test.go @@ -117,8 +117,7 @@ func TestAssignConfig_03(t *testing.T) { ac.Set("StaticExtensionsToGzip", ".css,.js,.html,.jpg,.png") assignConfig(ac) - - t.Logf("%#v",BConfig) + t.Logf("%#v", BConfig) if BConfig.AppName != "test_app" { t.FailNow()