From d0cb112f4bf2fede5bdc9599d2835a06d417f3e0 Mon Sep 17 00:00:00 2001 From: astaxie Date: Sat, 3 Aug 2013 22:22:37 +0800 Subject: [PATCH] fix test func name --- httplib_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httplib_test.go b/httplib_test.go index 28b729ca..ea4a7f9a 100644 --- a/httplib_test.go +++ b/httplib_test.go @@ -6,7 +6,7 @@ import ( ) func TestGetUrl(t *testing.T) { - resp, err := GetUrl("http://beego.me/").Response() + resp, err := Get("http://beego.me/").Response() if err != nil { t.Fatal(err) } @@ -22,7 +22,7 @@ func TestGetUrl(t *testing.T) { t.Fatal("data is no") } - str, err := GetUrl("http://beego.me/").String() + str, err := Get("http://beego.me/").String() if err != nil { t.Fatal(err) }