@@ -27,7 +27,7 @@ describe("merge algorithm", () => {
2727 // pattern's, and its `false` reset deletes the narrower pattern's rule outright.
2828 // This is the default (no `preMerge`, no compiler) path.
2929 describe ( "matched layers are merged in containment order, not findAllRoutes order" , ( ) => {
30- // Two distinct upstream shapes: `/api/* /:path*` subsumes `/api/* /**` and comes
30+ // Two distinct upstream shapes: `/api/*/:path*` subsumes `/api/*/**` and comes
3131 // back last in BOTH registration orders (rou3 sorts it there), while
3232 // `/admin/:page?` subsumes `/admin` and gets no specificity sort at all (both
3333 // weigh 0 in `pushSorted`, so config order survives) — hence both orders below.
@@ -627,7 +627,7 @@ describe("mergeMatchedRouteRules (pure)", () => {
627627 // Layer ordering must be decided by the build-time rank alone: the only
628628 // predicate a compiled matcher has by default is `canOverrideRouteShape`,
629629 // which is conservative but *not* exact for modifier params (it cannot see
630- // that `/api/* /:path*` subsumes the `/api/* /**` it appears to sit under, so
630+ // that `/api/*/:path*` subsumes the `/api/*/**` it appears to sit under, so
631631 // it decides neither direction), leaving a predicate-driven order to fall
632632 // back on arrival order — which fails open exactly here. No `canOverride`
633633 // is passed below.
0 commit comments