Skip to content

Commit

Permalink
Address naming
Browse files Browse the repository at this point in the history
  • Loading branch information
agehrke committed Nov 16, 2024
1 parent d5eb130 commit 03a235a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/Serilog.Extensions.Logging.Tests/DisposeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public DisposeTests()
}

[Fact]
public void AddSerilog_must_dispose_the_provider_when_dispose_is_true()
public void DisposesProviderWhenDisposeIsTrue()
{
var services = new ServiceCollection()
.AddLogging(builder => builder.AddSerilog(logger: _serilogLogger, dispose: true))
Expand All @@ -37,7 +37,7 @@ public void AddSerilog_must_dispose_the_provider_when_dispose_is_true()

#if NET8_0_OR_GREATER
[Fact]
public async Task AddSerilog_must_async_dispose_the_provider_when_dispose_is_true()
public async Task DisposesProviderAsyncWhenDisposeIsTrue()
{
var services = new ServiceCollection()
.AddLogging(builder => builder.AddSerilog(logger: _serilogLogger, dispose: true))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Serilog.Extensions.Logging.Tests;
public class SerilogLoggingBuilderExtensionsTests
{
[Fact]
public void AddSerilog_must_register_a_ILoggerProvider()
public void AddSerilogMustRegisterAnILoggerProvider()
{
var services = new ServiceCollection()
.AddLogging(builder => { builder.AddSerilog(); })
Expand All @@ -19,7 +19,7 @@ public void AddSerilog_must_register_a_ILoggerProvider()
}

[Fact]
public void AddSerilog_must_register_a_ILoggerProvider_that_forwards_logs_to_static_Serilog_Logger()
public void AddSerilogMustRegisterAnILoggerProviderThatForwardsLogsToStaticSerilogLogger()
{
var sink = new SerilogSink();
Log.Logger = new LoggerConfiguration()
Expand All @@ -37,7 +37,7 @@ public void AddSerilog_must_register_a_ILoggerProvider_that_forwards_logs_to_sta
}

[Fact]
public void AddSerilog_must_register_a_ILoggerProvider_that_forwards_logs_to_provided_logger()
public void AddSerilogMustRegisterAnILoggerProviderThatForwardsLogsToProvidedLogger()
{
var sink = new SerilogSink();
var serilogLogger = new LoggerConfiguration()
Expand Down

0 comments on commit 03a235a

Please sign in to comment.