1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 12:30:54 +00:00

fix test func name

This commit is contained in:
astaxie 2013-08-03 22:22:37 +08:00
parent c58445c772
commit d0cb112f4b

View File

@ -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)
}