fixed typo (#250)
This commit is contained in:
committed by
Matt Silverlock
parent
599cba5e7b
commit
4c1c3952b7
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user