mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-08 22:18:52 +08:00
rename gzip test function to TestGzipHandler
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
|||||||
"github.com/mholt/caddy/middleware"
|
"github.com/mholt/caddy/middleware"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test(t *testing.T) {
|
func TestGzipHandler(t *testing.T) {
|
||||||
|
|
||||||
pathFilter := PathFilter{make(Set)}
|
pathFilter := PathFilter{make(Set)}
|
||||||
badPaths := []string{"/bad", "/nogzip", "/nongzip"}
|
badPaths := []string{"/bad", "/nogzip", "/nongzip"}
|
||||||
|
Reference in New Issue
Block a user