diff --git a/test/Microsoft.AspNet.Mvc.Core.Test/Routing/AttributeRoutingTest.cs b/test/Microsoft.AspNet.Mvc.Core.Test/Routing/AttributeRoutingTest.cs index e23fa05d99..fa66d12553 100644 --- a/test/Microsoft.AspNet.Mvc.Core.Test/Routing/AttributeRoutingTest.cs +++ b/test/Microsoft.AspNet.Mvc.Core.Test/Routing/AttributeRoutingTest.cs @@ -23,8 +23,10 @@ namespace Microsoft.AspNet.Mvc.Routing "The following errors occurred with attribute routing information:" + Environment.NewLine + Environment.NewLine + "For action: 'InvalidTemplate'" + Environment.NewLine + - "Error: There is an incomplete parameter in the route template. " + - "Check that each '{' character has a matching '}' character." + Environment.NewLine + + "Error: The route parameter name 'a/dkfk' is invalid. Route parameter names must be non-empty and " + + "cannot contain these characters: '{', '}', '/'. The '?' character marks a parameter as optional, " + + "and can occur only at the end of the parameter. The '*' character marks a parameter as catch-all, " + + "and can occur only at the start of the parameter." + Environment.NewLine + "Parameter name: routeTemplate"; var router = CreateRouter();