summaryrefslogtreecommitdiffstats
path: root/modules/avatar/avatar_test.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-03-26 21:26:31 +0800
committerskyblue <ssx205@gmail.com>2014-03-26 21:26:31 +0800
commit4662a73ac34adeeeb6fc48ba6ac69b6a4adf18bc (patch)
tree6dc79a28443c9c3688cc6e1b2469f64395e3067b /modules/avatar/avatar_test.go
parent409e4cde7a379bbdbe53367b3726f64b80aed0eb (diff)
downloadgitea-4662a73ac34adeeeb6fc48ba6ac69b6a4adf18bc.tar.gz
gitea-4662a73ac34adeeeb6fc48ba6ac69b6a4adf18bc.zip
name change of avatar
Diffstat (limited to 'modules/avatar/avatar_test.go')
-rw-r--r--modules/avatar/avatar_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/avatar/avatar_test.go b/modules/avatar/avatar_test.go
index 4656d6f0f4..0cbf70fe60 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)
}
*/