summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-03-06 16:03:13 +0800
committerLinus Färnstrand <linus@mullvad.net>2017-03-06 13:22:36 +0100
commitfc17a9d1373ca5517b2344601eb252a055b54152 (patch)
tree6b481cdeb21b31e81c71e620d88dd05919aff275
parent416e0aebbf9c49a22467e00530a23c4248f1a151 (diff)
downloadmullvadvpn-fc17a9d1373ca5517b2344601eb252a055b54152.tar.xz
mullvadvpn-fc17a9d1373ca5517b2344601eb252a055b54152.zip
Change the assertion in the zmq integration test
-rw-r--r--talpid_ipc/tests/zmq_integration_tests.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/talpid_ipc/tests/zmq_integration_tests.rs b/talpid_ipc/tests/zmq_integration_tests.rs
index b7993c3553..0e5145dc3c 100644
--- a/talpid_ipc/tests/zmq_integration_tests.rs
+++ b/talpid_ipc/tests/zmq_integration_tests.rs
@@ -23,9 +23,7 @@ mod zmq_integration_tests {
let message = new_messages_rx.recv_timeout(Duration::from_millis(1000))
.expect("Did not receive a message");
- let a = vec![1, 3, 3, 7];
- assert!(message.is_ok(), "Got error");
- assert_eq!(message.unwrap(), a, "Got wrong message");
+ assert_eq!(message.unwrap(), vec![1, 3, 3, 7], "Did not read the data that was sent");
}
fn start_server() -> (String, Receiver<Result<Vec<u8>>>) {