瀏覽代碼

Refactor code.

release/3.x.x
Christian Kratky 5 年之前
父節點
當前提交
5a4c735b85
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      Tests/MQTTnet.Core.Tests/AsyncAutoResentEvent_Tests.cs
  2. +1
    -1
      Tests/MQTTnet.Core.Tests/MqttClient_Tests.cs

+ 1
- 1
Tests/MQTTnet.Core.Tests/AsyncAutoResentEvent_Tests.cs 查看文件

@@ -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
Tests/MQTTnet.Core.Tests/MqttClient_Tests.cs 查看文件

@@ -68,7 +68,7 @@ namespace MQTTnet.Tests

var replyReceived = false;

client1.UseApplicationMessageReceivedHandler(async c =>
client1.UseApplicationMessageReceivedHandler(c =>
{
if (c.ApplicationMessage.Topic == "reply")
{


Loading…
取消
儲存