Skip to content

Commit 28b8a39

Browse files
authored
Fix various minor spelling mistakes (#24019)
* fix various minor spelling mistakes
2 parents bace984 + b459a7e commit 28b8a39

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/Components/Components/src/Routing/OptionalTypeRouteConstraint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public OptionalTypeRouteConstraint(TryParseDelegate parser)
2222
public override bool Match(string pathSegment, out object? convertedValue)
2323
{
2424
// Unset values are set to null in the Parameters object created in
25-
// the RouteContext. To match this pattern, unset optional parmeters
25+
// the RouteContext. To match this pattern, unset optional parameters
2626
// are converted to null.
2727
if (string.IsNullOrEmpty(pathSegment))
2828
{

src/Components/Components/test/ParameterViewTest.Assignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void IncomingParameterMatchesInheritedDeclaredParameter_SetsValue()
7171
}
7272

7373
[Fact]
74-
public void IncomingParameterMatchesOverridenParameter_ThatDoesNotHasAttribute()
74+
public void IncomingParameterMatchesOverriddenParameter_ThatDoesNotHaveAttribute()
7575
{
7676
// Test for https://github.com/dotnet/aspnetcore/issues/13162
7777
// Arrange

src/Components/Components/test/RendererTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,7 @@ public void RenderBatch_HandlesSynchronousExceptionsInAsyncDisposableComponents(
21242124
}
21252125

21262126
[Fact]
2127-
public void RenderBatch_CanDisposeSynchrounousAsyncDisposableImplementations()
2127+
public void RenderBatch_CanDisposeSynchronousAsyncDisposableImplementations()
21282128
{
21292129
// Arrange
21302130
var renderer = new TestRenderer { ShouldHandleExceptions = true };

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public void PrefersOptionalParamsOverNonOptionalParamsReverseOrder()
476476

477477

478478
[Fact]
479-
public void PrefersLiteralTemplateOverParmeterizedTemplates()
479+
public void PrefersLiteralTemplateOverParameterizedTemplates()
480480
{
481481
// Arrange
482482
var routeTable = new TestRouteTableBuilder()

src/Components/Components/test/Routing/RouterTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async Task OnNavigateAsync(NavigationContext args)
8181
var janTaskException = await Record.ExceptionAsync(() => janTask);
8282
var febTaskException = await Record.ExceptionAsync(() => febTask);
8383

84-
// Assert neither exceution threw an exception
84+
// Assert neither execution threw an exception
8585
Assert.Null(janTaskException);
8686
Assert.Null(febTaskException);
8787
// Assert refresh should've only been called once for the second route

src/Components/Server/test/Circuits/RemoteRendererTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ await renderer.RenderComponentAsync<AutoParameterTestComponent>(
296296
exceptions.Add(e);
297297
};
298298

299-
// Receive the ack for the intial batch
299+
// Receive the ack for the initial batch
300300
_ = renderer.OnRenderCompletedAsync(2, null);
301301
// Receive the ack for the second batch
302302
_ = renderer.OnRenderCompletedAsync(2, null);

src/Shared/Components/ServerComponentSerializationSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal static class ServerComponentSerializationSettings
1919
};
2020

2121
// This setting is not configurable, but realistically we don't expect an app to take more than 30 seconds from when
22-
// it got rendrered to when the circuit got started, and having an expiration on the serialized server-components helps
22+
// it got rendered to when the circuit got started, and having an expiration on the serialized server-components helps
2323
// prevent old payloads from being replayed.
2424
public static readonly TimeSpan DataExpiration = TimeSpan.FromMinutes(5);
2525
}

src/SignalR/common/SignalR.Common/test/Internal/Protocol/MessagePackHubProtocolTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static IEnumerable<object[]> BaseTestDataNames
8585
message: new InvocationMessage(null, "Target", new object[] { 42 }, new string[] { "__test_id__" }),
8686
binary: "lgGAwKZUYXJnZXSRKpGrX190ZXN0X2lkX18="),
8787
new ProtocolTestData(
88-
name: "InvocationWithMulitpleStreams",
88+
name: "InvocationWithMultipleStreams",
8989
message: new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__", "__test_id2__" }),
9090
binary: "lgGAwKZUYXJnZXSQkqtfX3Rlc3RfaWRfX6xfX3Rlc3RfaWQyX18="),
9191

0 commit comments

Comments
 (0)