Sfoglia il codice sorgente

Refactor code.

release/3.x.x
Christian Kratky 5 anni fa
parent
commit
5a4c735b85
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 Vedi File

@@ -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 Vedi File

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

var replyReceived = false;

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


Caricamento…
Annulla
Salva