style: fixed typo
This commit is contained in:
parent
203438dc8c
commit
8d8f8b0c99
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ func TestRoutePlaceholder(t *testing.T) {
|
||||||
t.Error("error during placeholder name validation;", placeholderElement.placeholderName)
|
t.Error("error during placeholder name validation;", placeholderElement.placeholderName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check path finder
|
// check pathfinder
|
||||||
foundRoute, _, foundParameters := route.parsePath("/user/123/home/martin", false)
|
foundRoute, _, foundParameters := route.parsePath("/user/123/home/martin", false)
|
||||||
if foundRoute != homePathElement.routes[":"] {
|
if foundRoute != homePathElement.routes[":"] {
|
||||||
t.Error("wrong path element returned form path finding")
|
t.Error("wrong path element returned form path finding")
|
||||||
|
|
Loading…
Add table
Reference in a new issue