diff options
Diffstat (limited to 'vendor/github.com/gorilla/mux/test_helpers.go')
-rw-r--r-- | vendor/github.com/gorilla/mux/test_helpers.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/gorilla/mux/test_helpers.go b/vendor/github.com/gorilla/mux/test_helpers.go index 8b2c4a4c5..32ecffde4 100644 --- a/vendor/github.com/gorilla/mux/test_helpers.go +++ b/vendor/github.com/gorilla/mux/test_helpers.go @@ -7,7 +7,8 @@ package mux import "net/http" // SetURLVars sets the URL variables for the given request, to be accessed via -// mux.Vars for testing route behaviour. +// mux.Vars for testing route behaviour. Arguments are not modified, a shallow +// copy is returned. // // This API should only be used for testing purposes; it provides a way to // inject variables into the request context. Alternatively, URL variables |