From 4662a73ac34adeeeb6fc48ba6ac69b6a4adf18bc Mon Sep 17 00:00:00 2001 From: skyblue Date: Wed, 26 Mar 2014 21:26:31 +0800 Subject: name change of avatar --- modules/avatar/avatar_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/avatar/avatar_test.go') diff --git a/modules/avatar/avatar_test.go b/modules/avatar/avatar_test.go index 4656d6f0..0cbf70fe 100644 --- a/modules/avatar/avatar_test.go +++ b/modules/avatar/avatar_test.go @@ -51,7 +51,7 @@ func TestFetchMany(t *testing.T) { // wget http://www.artsjournal.com/artfulmanager/wp/wp-content/uploads/2013/12/200x200xmirror_cat.jpg.pagespeed.ic.GOZSv6v1_H.jpg -O default.jpg /* func TestHttp(t *testing.T) { - http.Handle("/", avatar.HttpHandler("./", "default.jpg")) + http.Handle("/", avatar.CacheServer("./", "default.jpg")) http.ListenAndServe(":8001", nil) } */ -- cgit v1.2.3