diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-02-16 04:58:08 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-02-16 04:58:43 +0300 |
commit | ed685e8b769245dcc6a433188cfd21fb5b1fc694 (patch) | |
tree | 2a8348d1179b0c8c021b8ec1f44b1b453c085c9c /mcs/class/System/Test | |
parent | b7f2b467d640bb619553c14711d31f7b4584f348 (diff) |
[System] Fix failing ClientWebSocket test
The wrong part of the ifdef was deleted in a4df7d4923aa,
we need to InvalidOperationException instead of PNSE.
Diffstat (limited to 'mcs/class/System/Test')
-rw-r--r-- | mcs/class/System/Test/System.Net.WebSockets/ClientWebSocketTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/Test/System.Net.WebSockets/ClientWebSocketTest.cs b/mcs/class/System/Test/System.Net.WebSockets/ClientWebSocketTest.cs index 9c539092359..cf4418e8d7a 100644 --- a/mcs/class/System/Test/System.Net.WebSockets/ClientWebSocketTest.cs +++ b/mcs/class/System/Test/System.Net.WebSockets/ClientWebSocketTest.cs @@ -183,7 +183,7 @@ namespace MonoTests.System.Net.WebSockets } [Test] - [ExpectedException (typeof (PlatformNotSupportedException))] + [ExpectedException (typeof (InvalidOperationException))] [Category ("MobileNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran public void ReceiveAsyncArgTest_NotConnected () { |