fix various minor spelling mistakes

This commit is contained in:
Adrian Wright 2020-07-16 17:21:30 +01:00
parent cee763b189
commit 2c66f9ee64
9 changed files with 9 additions and 9 deletions

View File

@ -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))
{

View File

@ -71,7 +71,7 @@ namespace Microsoft.AspNetCore.Components
}
[Fact]
public void IncomingParameterMatchesOverridenParameter_ThatDoesNotHasAttribute()
public void IncomingParameterMatchesOverriddenParameter_ThatDoesNotHasAttribute()
{
// Test for https://github.com/dotnet/aspnetcore/issues/13162
// Arrange

View File

@ -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 };

View File

@ -476,7 +476,7 @@ namespace Microsoft.AspNetCore.Components.Test.Routing
[Fact]
public void PrefersLiteralTemplateOverParmeterizedTemplates()
public void PrefersLiteralTemplateOverParameterizedTemplates()
{
// Arrange
var routeTable = new TestRouteTableBuilder()

View File

@ -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

View File

@ -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);

View File

@ -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);
}

View File

@ -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="),

@ -1 +1 @@
Subproject commit a4a14ce447e4ef694af1a485fb672db35e766111
Subproject commit df2a065423545aa57ce7fafa1eefdd37c22ef1a5