about summary refs log tree commit diff
path: root/route_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'route_test.go')
-rw-r--r--route_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/route_test.go b/route_test.go
index dd38e80..339a797 100644
--- a/route_test.go
+++ b/route_test.go
@@ -103,7 +103,7 @@ func TestMatch(t *testing.T) {
 		if m == nil {
 			t.Fatal()
 		} else {
-			fmt.Println(fmt.Sprintf("%s match for %s", p.Path, m.Path))
+			fmt.Println(fmt.Sprintf("%s match for %s", p.Path, m.GetPath()))
 		}
 	}
 }
@@ -140,7 +140,7 @@ func TestMatchOptional(t *testing.T) {
 		if m == nil {
 			t.Fatal()
 		} else {
-			fmt.Println(fmt.Sprintf("%s match for %s", p.Path, m.Path))
+			fmt.Println(fmt.Sprintf("%s match for %s", p.Path, m.GetPath()))
 		}
 	}
 }
@@ -162,7 +162,7 @@ func TestAmbigiousSimple(t *testing.T) {
 	if m == nil {
 		t.Fatal()
 	} else {
-		fmt.Println(fmt.Sprintf("%s match for %s", r.URL.Path, m.Path))
+		fmt.Println(fmt.Sprintf("%s match for %s", r.URL.Path, m.GetPath()))
 	}
 }