Skip to content

Commit 55a297c

Browse files
committed
Make default path look like a path
Signed-off-by: Claudia Meadows <[email protected]>
1 parent ec5b03b commit 55a297c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/tests/test-router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ o.spec("route", function() {
227227

228228
o("remove trailing slash to match route if it is before rest operator match (...) ", function() {
229229
$window.location.href = prefix + "/test/d/"
230-
route(root, "/test/:a...", {
230+
route(root, "/test/some/path", {
231231
"/test/:a" : {
232232
view: lock(function(vnode) {
233233
return JSON.stringify(route.param()) + " " +

0 commit comments

Comments
 (0)