Merge branch 'release/2.2'
This commit is contained in:
commit
4b12d917ae
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -555,8 +555,8 @@ namespace Microsoft.AspNetCore.Routing.Matching
|
||||||
var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint>
|
var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint>
|
||||||
{
|
{
|
||||||
CreateEndpoint("/One", 0),
|
CreateEndpoint("/One", 0),
|
||||||
CreateEndpoint("/{p:int}", 0),
|
CreateEndpoint("/{p:int}", 1),
|
||||||
CreateEndpoint("/x-{id}-y", 0),
|
CreateEndpoint("/x-{id}-y", 2),
|
||||||
});
|
});
|
||||||
|
|
||||||
var sink = new TestSink();
|
var sink = new TestSink();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue