ソースを参照

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")
{


読み込み中…
キャンセル
保存