[Low Risk Cleanup] Removes double semicolons (#16794)
This commit is contained in:
parent
41195138b1
commit
d4f7a199c7
|
|
@ -42,7 +42,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
|
||||||
[Fact]
|
[Fact]
|
||||||
public async Task EditFormWorksWithDataAnnotationsValidator()
|
public async Task EditFormWorksWithDataAnnotationsValidator()
|
||||||
{
|
{
|
||||||
var appElement = MountSimpleValidationComponent();;
|
var appElement = MountSimpleValidationComponent();
|
||||||
var form = appElement.FindElement(By.TagName("form"));
|
var form = appElement.FindElement(By.TagName("form"));
|
||||||
var userNameInput = appElement.FindElement(By.ClassName("user-name")).FindElement(By.TagName("input"));
|
var userNameInput = appElement.FindElement(By.ClassName("user-name")).FindElement(By.TagName("input"));
|
||||||
var acceptsTermsInput = appElement.FindElement(By.ClassName("accepts-terms")).FindElement(By.TagName("input"));
|
var acceptsTermsInput = appElement.FindElement(By.ClassName("accepts-terms")).FindElement(By.TagName("input"));
|
||||||
|
|
|
||||||
|
|
@ -334,7 +334,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting.IIS
|
||||||
|
|
||||||
if (DeploymentParameters.RuntimeArchitecture == RuntimeArchitecture.x86)
|
if (DeploymentParameters.RuntimeArchitecture == RuntimeArchitecture.x86)
|
||||||
{
|
{
|
||||||
pool.SetAttributeValue("enable32BitAppOnWin64", "true");;
|
pool.SetAttributeValue("enable32BitAppOnWin64", "true");
|
||||||
}
|
}
|
||||||
|
|
||||||
RunServerConfigActions(config, contentRoot);
|
RunServerConfigActions(config, contentRoot);
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests
|
||||||
|
|
||||||
// Read 0 bytes in 1 second
|
// Read 0 bytes in 1 second
|
||||||
now += TimeSpan.FromSeconds(1);
|
now += TimeSpan.FromSeconds(1);
|
||||||
_timeoutControl.Tick(now);;
|
_timeoutControl.Tick(now);
|
||||||
|
|
||||||
// Timed out
|
// Timed out
|
||||||
_mockTimeoutHandler.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
|
_mockTimeoutHandler.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
|
||||||
|
|
|
||||||
|
|
@ -606,7 +606,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests
|
||||||
|
|
||||||
Assert.True(task3Success.IsCompleted);
|
Assert.True(task3Success.IsCompleted);
|
||||||
Assert.False(task3Success.IsCanceled);
|
Assert.False(task3Success.IsCanceled);
|
||||||
Assert.False(task3Success.IsFaulted);;
|
Assert.False(task3Success.IsFaulted);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ public class Program
|
||||||
using (HttpResponseMessage m = await ctx.HttpClient.SendAsync(req))
|
using (HttpResponseMessage m = await ctx.HttpClient.SendAsync(req))
|
||||||
{
|
{
|
||||||
ValidateResponse(m, httpVersion);
|
ValidateResponse(m, httpVersion);
|
||||||
ValidateContent(content, await m.Content.ReadAsStringAsync());;
|
ValidateContent(content, await m.Content.ReadAsStringAsync());
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ namespace System.Buffers
|
||||||
_isDisposed = true;
|
_isDisposed = true;
|
||||||
|
|
||||||
Array = null;
|
Array = null;
|
||||||
NativePointer = IntPtr.Zero;;
|
NativePointer = IntPtr.Zero;
|
||||||
|
|
||||||
if (_gcHandle.IsAllocated)
|
if (_gcHandle.IsAllocated)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Formatters
|
||||||
{
|
{
|
||||||
var ex = Assert.Throws<FormatException>(() =>
|
var ex = Assert.Throws<FormatException>(() =>
|
||||||
{
|
{
|
||||||
var buffer = new ReadOnlySequence<byte>(payload);;
|
var buffer = new ReadOnlySequence<byte>(payload);
|
||||||
BinaryMessageParser.TryParseMessage(ref buffer, out var message);
|
BinaryMessageParser.TryParseMessage(ref buffer, out var message);
|
||||||
});
|
});
|
||||||
Assert.Equal("Messages over 2GB in size are not supported.", ex.Message);
|
Assert.Equal("Messages over 2GB in size are not supported.", ex.Message);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue