Ver a proveniência

Refactor code.

release/3.x.x
Christian Kratky há 5 anos
ascendente
cometimento
5a4c735b85
2 ficheiros alterados com 2 adições e 2 eliminações
  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 Ver ficheiro

@@ -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 Ver ficheiro

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

var replyReceived = false;

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


Carregando…
Cancelar
Guardar