File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Serilog.Sinks.Network.Test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Net ;
33using System . Net . Sockets ;
4+ using System . Threading . Tasks ;
45using FluentAssertions ;
5- using Serilog . Core ;
66using Serilog . Formatting ;
77using Serilog . Sinks . Network . Formatters ;
88using Xunit ;
@@ -25,7 +25,7 @@ private static LoggerAndSocket ConfigureTestLogger(ITextFormatter formatter = nu
2525 }
2626
2727 [ Fact ]
28- public async void MustNotLogATrailingCommaWhenThereAreNoProperties ( )
28+ public async Task MustNotLogATrailingCommaWhenThereAreNoProperties ( )
2929 {
3030 using var fixture = ConfigureTestLogger ( new LogstashJsonFormatter ( ) ) ;
3131 var arbitraryMessage = nameof ( JsonFormatter ) + "MustNotLogATrailingCommaWhenThereAreNoProperties" + Guid . NewGuid ( ) ;
@@ -40,7 +40,7 @@ public async void MustNotLogATrailingCommaWhenThereAreNoProperties()
4040 }
4141
4242 [ Fact ]
43- public async void CanStillLogMessagesWithExceptions ( )
43+ public async Task CanStillLogMessagesWithExceptions ( )
4444 {
4545 using var fixture = ConfigureTestLogger ( new LogstashJsonFormatter ( ) ) ;
4646 var arbitraryMessage = nameof ( JsonFormatter ) + "CanStillLogMessagesWithExceptions" + Guid . NewGuid ( ) ;
You can’t perform that action at this time.
0 commit comments