Browse Source

fixed typo (#250)

pull/230/merge
Carlos Alexandro Becker 9 years ago committed by Matt Silverlock
parent
commit
4c1c3952b7
  1. 2
      mux_test.go

2
mux_test.go

@ -1393,7 +1393,7 @@ func TestSubrouterErrorHandling(t *testing.T) { @@ -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")

Loading…
Cancel
Save