Merge branch 'release/2.2'

This commit is contained in:
James Newton-King 2018-12-21 07:57:52 +13:00
commit 4b12d917ae
No known key found for this signature in database
GPG Key ID: 0A66B2F456BF5526
1 changed files with 3 additions and 3 deletions

View File

@ -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.
using System;
@ -555,8 +555,8 @@ namespace Microsoft.AspNetCore.Routing.Matching
var endpointDataSource = new DefaultEndpointDataSource(new List<Endpoint>
{
CreateEndpoint("/One", 0),
CreateEndpoint("/{p:int}", 0),
CreateEndpoint("/x-{id}-y", 0),
CreateEndpoint("/{p:int}", 1),
CreateEndpoint("/x-{id}-y", 2),
});
var sink = new TestSink();