Add routes priorities in documentation

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-06-06 22:40:42 +02:00
parent cc4fb64b34
commit 7e6c580130
No known key found for this signature in database
GPG key ID: D808B4C167352E59
3 changed files with 42 additions and 15 deletions

View file

@ -3,6 +3,7 @@ package main
import (
"github.com/containous/mux"
"net/http"
"net/url"
"testing"
)
@ -52,7 +53,6 @@ func TestParseTwoRules(t *testing.T) {
}
}
func TestPriorites(t *testing.T) {
router := mux.NewRouter()
router.StrictSlash(true)
@ -130,4 +130,3 @@ type fakeHandler struct {
func (h *fakeHandler) ServeHTTP(http.ResponseWriter, *http.Request) {
}