Skip to content

Commit 0f6098c

Browse files
committed
async Task
1 parent ad55638 commit 0f6098c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Serilog.Sinks.Network.Test/JsonFormatter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System;
22
using System.Net;
33
using System.Net.Sockets;
4+
using System.Threading.Tasks;
45
using FluentAssertions;
5-
using Serilog.Core;
66
using Serilog.Formatting;
77
using Serilog.Sinks.Network.Formatters;
88
using 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();

0 commit comments

Comments
 (0)