mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 01:08:49 +02:00
NO ConfigureAwait(false) + cleanup
This commit is contained in:
@@ -41,7 +41,7 @@ message HelloReply {
|
||||
|
||||
// Act
|
||||
var matcher = new ProtoBufMatcher(() => ProtoDefinition, MessageType);
|
||||
var result = await matcher.DecodeAsync(bytes).ConfigureAwait(false);
|
||||
var result = await matcher.DecodeAsync(bytes);
|
||||
|
||||
// Assert
|
||||
result.Should().BeEquivalentTo(new { name = "stef" });
|
||||
@@ -55,7 +55,7 @@ message HelloReply {
|
||||
|
||||
// Act
|
||||
var matcher = new ProtoBufMatcher(() => ProtoDefinition, MessageType);
|
||||
var result = await matcher.IsMatchAsync(bytes).ConfigureAwait(false);
|
||||
var result = await matcher.IsMatchAsync(bytes);
|
||||
|
||||
// Assert
|
||||
result.Score.Should().Be(MatchScores.Perfect);
|
||||
|
||||
Reference in New Issue
Block a user