Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-02-16 04:58:08 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-02-16 04:58:43 +0300
commited685e8b769245dcc6a433188cfd21fb5b1fc694 (patch)
tree2a8348d1179b0c8c021b8ec1f44b1b453c085c9c /mcs/class/System/Test
parentb7f2b467d640bb619553c14711d31f7b4584f348 (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.cs2
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 ()
{