Skip to content

Commit b0b2836

Browse files
committed
fix compilation error
1 parent a85a39a commit b0b2836

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Renci.SshNet.Tests/Classes/SshClientTest_Dispose_ForwardedPortStarted.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ public void IsConnectedShouldThrowObjectDisposedException()
7777
try
7878
{
7979
var connected = _sshClient.IsConnected;
80-
Assert.Fail("IsConnected should have thrown {0} but returned {1}.",
81-
typeof(ObjectDisposedException).FullName, connected);
80+
Assert.Fail($"IsConnected should have thrown {typeof(ObjectDisposedException).FullName} but returned {connected}.");
8281
}
8382
catch (ObjectDisposedException)
8483
{

0 commit comments

Comments
 (0)