Skip to content

Commit

Permalink
fixed typo (gorilla#250)
Browse files Browse the repository at this point in the history
caarlos0 authored and elithrar committed Apr 27, 2017

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 599cba5 commit 4c1c395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mux_test.go
Original file line number Diff line number Diff line change
@@ -1393,7 +1393,7 @@ func TestSubrouterErrorHandling(t *testing.T) {
func TestPanicOnCapturingGroups(t *testing.T) {
defer func() {
if recover() == nil {
t.Errorf("(Test that capturing groups now fail fast) Expected panic, however test completed sucessfully.\n")
t.Errorf("(Test that capturing groups now fail fast) Expected panic, however test completed successfully.\n")
}
}()
NewRouter().NewRoute().Path("/{type:(promo|special)}/{promoId}.json")

0 comments on commit 4c1c395

Please sign in to comment.