aboutsummaryrefslogtreecommitdiff
path: root/modules/avatar/avatar_test.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-26 21:49:09 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-26 21:49:09 +0800
commit8c2f751bbb22ebf06c7f7f9621614b6e46130210 (patch)
tree5b90a56d40ef41431aa68bfc4c3733d9d5745b55 /modules/avatar/avatar_test.go
parent08405a4fea1d2e5c73a73dafd866e0c00c7749c2 (diff)
parent32e05ae2120e864d6e1bd85fb01ef87e23c3ae89 (diff)
Merge branch 'master' of https://github.com/gogits/gogs
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 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)
}
*/