Fix various minor spelling mistakes (#24019)
* fix various minor spelling mistakes
This commit is contained in:
commit
28b8a39cc8
|
|
@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Components.Routing
|
|||
public override bool Match(string pathSegment, out object? convertedValue)
|
||||
{
|
||||
// Unset values are set to null in the Parameters object created in
|
||||
// the RouteContext. To match this pattern, unset optional parmeters
|
||||
// the RouteContext. To match this pattern, unset optional parameters
|
||||
// are converted to null.
|
||||
if (string.IsNullOrEmpty(pathSegment))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ namespace Microsoft.AspNetCore.Components
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void IncomingParameterMatchesOverridenParameter_ThatDoesNotHasAttribute()
|
||||
public void IncomingParameterMatchesOverriddenParameter_ThatDoesNotHaveAttribute()
|
||||
{
|
||||
// Test for https://github.com/dotnet/aspnetcore/issues/13162
|
||||
// Arrange
|
||||
|
|
|
|||
|
|
@ -2124,7 +2124,7 @@ namespace Microsoft.AspNetCore.Components.Test
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void RenderBatch_CanDisposeSynchrounousAsyncDisposableImplementations()
|
||||
public void RenderBatch_CanDisposeSynchronousAsyncDisposableImplementations()
|
||||
{
|
||||
// Arrange
|
||||
var renderer = new TestRenderer { ShouldHandleExceptions = true };
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ namespace Microsoft.AspNetCore.Components.Test.Routing
|
|||
|
||||
|
||||
[Fact]
|
||||
public void PrefersLiteralTemplateOverParmeterizedTemplates()
|
||||
public void PrefersLiteralTemplateOverParameterizedTemplates()
|
||||
{
|
||||
// Arrange
|
||||
var routeTable = new TestRouteTableBuilder()
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Components.Test.Routing
|
|||
var janTaskException = await Record.ExceptionAsync(() => janTask);
|
||||
var febTaskException = await Record.ExceptionAsync(() => febTask);
|
||||
|
||||
// Assert neither exceution threw an exception
|
||||
// Assert neither execution threw an exception
|
||||
Assert.Null(janTaskException);
|
||||
Assert.Null(febTaskException);
|
||||
// Assert refresh should've only been called once for the second route
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ namespace Microsoft.AspNetCore.Components.Web.Rendering
|
|||
exceptions.Add(e);
|
||||
};
|
||||
|
||||
// Receive the ack for the intial batch
|
||||
// Receive the ack for the initial batch
|
||||
_ = renderer.OnRenderCompletedAsync(2, null);
|
||||
// Receive the ack for the second batch
|
||||
_ = renderer.OnRenderCompletedAsync(2, null);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Microsoft.AspNetCore.Components
|
|||
};
|
||||
|
||||
// This setting is not configurable, but realistically we don't expect an app to take more than 30 seconds from when
|
||||
// it got rendrered to when the circuit got started, and having an expiration on the serialized server-components helps
|
||||
// it got rendered to when the circuit got started, and having an expiration on the serialized server-components helps
|
||||
// prevent old payloads from being replayed.
|
||||
public static readonly TimeSpan DataExpiration = TimeSpan.FromMinutes(5);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol
|
|||
message: new InvocationMessage(null, "Target", new object[] { 42 }, new string[] { "__test_id__" }),
|
||||
binary: "lgGAwKZUYXJnZXSRKpGrX190ZXN0X2lkX18="),
|
||||
new ProtocolTestData(
|
||||
name: "InvocationWithMulitpleStreams",
|
||||
name: "InvocationWithMultipleStreams",
|
||||
message: new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__", "__test_id2__" }),
|
||||
binary: "lgGAwKZUYXJnZXSQkqtfX3Rlc3RfaWRfX6xfX3Rlc3RfaWQyX18="),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue