Christian Kratky 5 лет назад
Родитель
Сommit
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")
{


Загрузка…
Отмена
Сохранить