Skip to content

Commit ab01b76

Browse files
Build fix
1 parent a626347 commit ab01b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Components/test/Routing/RouteTableFactoryTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ public RouteTable Build()
11071107
{
11081108
var templatesByHandler = _routeTemplates
11091109
.GroupBy(rt => rt.Handler)
1110-
.ToDictionary(group => group.Key, group => group.Select(g => g.Template).ToArray());
1110+
.ToDictionary(group => group.Key, group => (IReadOnlyList<string>)group.Select(g => g.Template).ToArray());
11111111
return RouteTableFactory.Create(templatesByHandler, _serviceProvider);
11121112
}
11131113
catch (InvalidOperationException ex) when (ex.InnerException is InvalidOperationException)

0 commit comments

Comments
 (0)