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 1
1
using System ;
2
2
using System . Net ;
3
3
using System . Net . Sockets ;
4
+ using System . Threading . Tasks ;
4
5
using FluentAssertions ;
5
- using Serilog . Core ;
6
6
using Serilog . Formatting ;
7
7
using Serilog . Sinks . Network . Formatters ;
8
8
using Xunit ;
@@ -25,7 +25,7 @@ private static LoggerAndSocket ConfigureTestLogger(ITextFormatter formatter = nu
25
25
}
26
26
27
27
[ Fact ]
28
- public async void MustNotLogATrailingCommaWhenThereAreNoProperties ( )
28
+ public async Task MustNotLogATrailingCommaWhenThereAreNoProperties ( )
29
29
{
30
30
using var fixture = ConfigureTestLogger ( new LogstashJsonFormatter ( ) ) ;
31
31
var arbitraryMessage = nameof ( JsonFormatter ) + "MustNotLogATrailingCommaWhenThereAreNoProperties" + Guid . NewGuid ( ) ;
@@ -40,7 +40,7 @@ public async void MustNotLogATrailingCommaWhenThereAreNoProperties()
40
40
}
41
41
42
42
[ Fact ]
43
- public async void CanStillLogMessagesWithExceptions ( )
43
+ public async Task CanStillLogMessagesWithExceptions ( )
44
44
{
45
45
using var fixture = ConfigureTestLogger ( new LogstashJsonFormatter ( ) ) ;
46
46
var arbitraryMessage = nameof ( JsonFormatter ) + "CanStillLogMessagesWithExceptions" + Guid . NewGuid ( ) ;
You can’t perform that action at this time.
0 commit comments