Skip to content

Commit

Permalink
test(repeater): make tests os agnostic
Browse files Browse the repository at this point in the history
closes #85
  • Loading branch information
derevnjuk committed Dec 6, 2022
1 parent 094084f commit 7528641
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ public async Task Run_TcpException_ReturnsResponse()
// assert
result.Should().BeEquivalentTo(new
{
Message = "Connection refused",
ErrorCode = "ConnectionRefused"
});
}, options => options.Using<Response>(ctx => ctx.Subject.Should().BeOfType<string>()).When(info => info.Path.EndsWith("Message")));
}
}

0 comments on commit 7528641

Please sign in to comment.