Skip to content

Commit

Permalink
update test for #39
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavisau committed Dec 1, 2015
1 parent 83e9e9c commit f4df66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sockets/Tests/Sockets.Tests/TcpSocketClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Task TcpSocketClient_ShouldThrowPCLException_InPlaceOfNativeSocketExcepti
var sut = new TcpSocketClient();
var unreachableHostName = ":/totallynotvalid@#$";

return Assert.ThrowsAsync<Exception>(() => sut.ConnectAsync(unreachableHostName, 8000));
return Assert.ThrowsAsync<SocketException>(() => sut.ConnectAsync(unreachableHostName, 8000));
}

[Fact]
Expand Down

0 comments on commit f4df66e

Please sign in to comment.