Skip to content

Commit 8b6c25e

Browse files
committed
Running format script.
1 parent befc3e3 commit 8b6c25e

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

dotnet/src/webdriver/DriverService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public abstract class DriverService : ICommandServer
3737
{
3838
private bool isDisposed;
3939
private Process? driverServiceProcess;
40-
41-
private static readonly ILogger _logger = Log.GetLogger(typeof(DriverService));
40+
41+
private static readonly ILogger _logger = Log.GetLogger(typeof(DriverService));
4242

4343
/// <summary>
4444
/// Initializes a new instance of the <see cref="DriverService"/> class.
@@ -409,7 +409,7 @@ private bool WaitForServiceInitialization()
409409

410410
return isInitialized;
411411
}
412-
412+
413413
private async Task ReadStreamAsync(StreamReader reader, string streamType)
414414
{
415415
try
@@ -441,5 +441,5 @@ private async Task ReadStreamAsync(StreamReader reader, string streamType)
441441
}
442442
}
443443
}
444-
444+
445445
}

dotnet/src/webdriver/Firefox/FirefoxDriverService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed class FirefoxDriverService : DriverService
3434
{
3535
private const string DefaultFirefoxDriverServiceFileName = "geckodriver";
3636
private static readonly ILogger _logger = Log.GetLogger(typeof(FirefoxDriverService));
37-
37+
3838
/// <summary>
3939
/// Process management fields for the log writer.
4040
/// </summary>
@@ -362,6 +362,6 @@ private async Task ReadStreamAsync(StreamReader reader)
362362
{
363363
_logger.Error($"Error reading stream: {ex.Message}");
364364
}
365-
}
365+
}
366366
}
367367
}

dotnet/test/firefox/FirefoxDriverServiceTest.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ public void ShouldRedirectGeckoDriverLogsToFile()
5656
FirefoxOptions options = new FirefoxOptions();
5757
string logPath = Path.GetTempFileName();
5858
options.LogLevel = FirefoxDriverLogLevel.Trace;
59-
59+
6060
FirefoxDriverService service = FirefoxDriverService.CreateDefaultService();
6161
service.LogPath = logPath;
62-
62+
6363
IWebDriver firefoxDriver = new FirefoxDriver(service, options);
64-
64+
6565
try
6666
{
6767
Assert.That(File.Exists(logPath), Is.True);
@@ -74,19 +74,19 @@ public void ShouldRedirectGeckoDriverLogsToFile()
7474
File.Delete(logPath);
7575
}
7676
}
77-
77+
7878
[Test]
7979
public void ShouldRedirectGeckoDriverLogsToConsole()
8080
{
8181
Log.SetLevel(LogEventLevel.Info).Handlers.Add(testLogHandler);
8282
FirefoxOptions options = new FirefoxOptions();
8383
options.LogLevel = FirefoxDriverLogLevel.Info;
84-
84+
8585
FirefoxDriverService service = FirefoxDriverService.CreateDefaultService();
8686
service.LogToConsole = true;
87-
87+
8888
IWebDriver firefoxDriver = new FirefoxDriver(service, options);
89-
89+
9090
try
9191
{
9292
Assert.That(testLogHandler.Events, Has.Count.AtLeast(1));
@@ -96,7 +96,7 @@ public void ShouldRedirectGeckoDriverLogsToConsole()
9696
{
9797
firefoxDriver.Quit();
9898
}
99-
}
99+
}
100100
}
101101

102102
class TestLogHandler : ILogHandler

0 commit comments

Comments
 (0)