[docs] Satisfied golint.

- SkipRouter should also be ErrRouterSkipped (or similar) but a change would
  break the public API.
This commit is contained in:
Matt Silverlock
2016-02-28 19:31:51 -08:00
parent c582f4facc
commit 02c98b3f73
5 changed files with 19 additions and 16 deletions

View File

@@ -576,10 +576,10 @@ func TestSubRouting(t *testing.T) {
}
u, _ := router.Get("products").URL()
builtUrl := u.String()
builtURL := u.String()
// Yay, subroute aware of the domain when building!
if builtUrl != url {
t.Errorf("Expected %q, got %q.", url, builtUrl)
if builtURL != url {
t.Errorf("Expected %q, got %q.", url, builtURL)
}
}