aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/path/route_example_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/path/route_example_test.go b/lib/path/route_example_test.go
index 435652d7..9715fc13 100644
--- a/lib/path/route_example_test.go
+++ b/lib/path/route_example_test.go
@@ -128,12 +128,12 @@ func ExampleRoute_Set() {
log.Fatal(err)
}
- rute.Set(`user`, `shuLhan`)
+ rute.Set(`user`, `~shulhan`)
fmt.Println(rute)
- rute.Set(`repo`, `share`)
+ rute.Set(`repo`, `pakakeh.go`)
fmt.Println(rute)
// Output:
- // /shuLhan/:repo
- // /shuLhan/share
+ // /~shulhan/:repo
+ // /~shulhan/pakakeh.go
}