From 46bd8fb68a68ad021ce2e57242f03571da50d663 Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Thu, 23 Oct 2014 11:28:46 +0200 Subject: [PATCH] fmt --- client.go | 2 +- utils_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 8f21fad..0bdd723 100644 --- a/client.go +++ b/client.go @@ -59,7 +59,7 @@ type response struct { Props []props `xml:"DAV: propstat"` } -func getProps(r *response, status string) (*props) { +func getProps(r *response, status string) *props { for _, prop := range r.Props { if strings.Index(prop.Status, status) != -1 { return &prop diff --git a/utils_test.go b/utils_test.go index 36f468d..4e7dcca 100644 --- a/utils_test.go +++ b/utils_test.go @@ -13,6 +13,6 @@ func TestJoin(t *testing.T) { func eq(t *testing.T, expected string, s0 string, s1 string) { s := Join(s0, s1) if s != expected { - t.Error("For", "'"+s0+"','" + s1+"'", "expeted", "'"+ expected + "'", "got", "'"+s+"'") + t.Error("For", "'"+s0+"','"+s1+"'", "expeted", "'"+expected+"'", "got", "'"+s+"'") } }