Skip to content

Commit 9fe9ea7

Browse files
authored
Apply suggestions from code review
1 parent 60367a5 commit 9fe9ea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NetMQ.Tests/NetMQPollerTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void ResponsePoll()
5353
}
5454

5555
[Fact(Timeout=5000)]
56-
public async void Monitoring()
56+
public async Task Monitoring()
5757
{
5858
var listeningEvent = new ManualResetEvent(false);
5959
var acceptedEvent = new ManualResetEvent(false);
@@ -83,7 +83,7 @@ public async void Monitoring()
8383

8484
// keep the test from blocking when something goes wrong.
8585
var timeout = new CancellationTokenSource(5000).Token;
86-
Exception e = null;
86+
Exception? e = null;
8787

8888
await Task.Run(() =>
8989
{

0 commit comments

Comments
 (0)