Drops LINK and UNLINK shortcuts

This commit is contained in:
Manu Mtz-Almeida
2015-05-20 00:32:06 +02:00
parent 022304e7d9
commit e59475c615
2 changed files with 1 additions and 23 deletions

View File

@ -39,9 +39,6 @@ func TestRouterGroupBasicHandle(t *testing.T) {
performRequestInGroup(t, "DELETE")
performRequestInGroup(t, "HEAD")
performRequestInGroup(t, "OPTIONS")
performRequestInGroup(t, "LINK")
performRequestInGroup(t, "UNLINK")
}
func performRequestInGroup(t *testing.T, method string) {
@ -78,12 +75,6 @@ func performRequestInGroup(t *testing.T, method string) {
case "OPTIONS":
v1.OPTIONS("/test", handler)
login.OPTIONS("/test", handler)
case "LINK":
v1.LINK("/test", handler)
login.LINK("/test", handler)
case "UNLINK":
v1.UNLINK("/test", handler)
login.UNLINK("/test", handler)
default:
panic("unknown method")
}