summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-11-15 18:17:43 +0100
committerLinus Färnstrand <linus@mullvad.net>2018-11-16 10:10:04 +0100
commit56a9f3966b9cbe55ddf19ee487aa6a29465926ed (patch)
tree3970500eee1baaa331d63296ba935fed97ef1e1f
parent2c4f999ae036e2c88c4430582633d3bcf8a79800 (diff)
downloadmullvadvpn-56a9f3966b9cbe55ddf19ee487aa6a29465926ed.tar.xz
mullvadvpn-56a9f3966b9cbe55ddf19ee487aa6a29465926ed.zip
Fix windows talpid-ipc warnings
-rw-r--r--talpid-ipc/tests/ipc-client-server.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/talpid-ipc/tests/ipc-client-server.rs b/talpid-ipc/tests/ipc-client-server.rs
index 9d2aebd19f..254671962c 100644
--- a/talpid-ipc/tests/ipc-client-server.rs
+++ b/talpid-ipc/tests/ipc-client-server.rs
@@ -1,3 +1,6 @@
+// TODO fix these tests on Windows
+#![cfg(not(windows))]
+
extern crate assert_matches;
extern crate env_logger;
extern crate jsonrpc_client_core;
@@ -38,8 +41,6 @@ impl TestApi for ApiImpl {
}
}
-// TODO fix this test on Windows
-#[cfg(not(windows))]
#[test]
fn can_call_rpcs_on_server() {
env_logger::init();
@@ -56,8 +57,6 @@ fn can_call_rpcs_on_server() {
server.close_handle().close();
}
-// TODO fix this test on Windows
-#[cfg(not(windows))]
#[test]
#[should_panic]
fn ipc_client_invalid_url() {