|
Confused the heck out of me as there is also a bug in the exception's text in "MvcRouteUnitTester.RequestInfo.ShouldMatchRoute(string, string, object)"
if (expectedRouteValues == null) {
throw new AssertionException(string.Format("Route values mismatch. Expected: 0 route values, but was: {0} route values (for url: \"{1}\").", actualRouteValuesDictionary.Count, this.requestUrl));
}
The "0" and "{0}" should be switched around.
And also, this code block is the source for my bug report above. But not sure how to fix it, if at all possible?
|