Refactor code.

This commit is contained in:
Christian Kratky
2019-06-11 20:50:11 +02:00
parent 42516942ac
commit 5a4c735b85
2 changed files with 2 additions and 2 deletions
@@ -123,7 +123,7 @@ namespace MQTTnet.Tests
waitTask.GetAwaiter().GetResult();
Assert.IsTrue(false, "Task was expected to transition to a canceled state.");
}
catch (OperationCanceledException ex)
catch (OperationCanceledException)
{
}
+1 -1
View File
@@ -68,7 +68,7 @@ namespace MQTTnet.Tests
var replyReceived = false;
client1.UseApplicationMessageReceivedHandler(async c =>
client1.UseApplicationMessageReceivedHandler(c =>
{
if (c.ApplicationMessage.Topic == "reply")
{