Path: redb-route/tests/redb.Route.Tests.Controllers/RouteRankingTests.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/redb.Route.Tests.Controllers/RouteRankingTests.cs
----
using redb.Route.Controllers;
using redb.Route.Controllers.Attributes;
namespace redb.Route.Tests.Controllers;
///
/// ranks a literal
/// segment above a {param} at the same depth. The table is a ConcurrentBag with no defined order, so
/// both declaration orders are pinned: without the ranking one of them resolves the literal to the placeholder.
///
public class RouteRankingTests
{
public static IEnumerable