summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-03-06 13:27:22 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-03-06 13:28:16 +0100
commita044c1b2d8ea5035d21c2e9228475298204fd6fa (patch)
tree078e623cf008d02edcea63d9224a6851a419e0d8
parentfc17a9d1373ca5517b2344601eb252a055b54152 (diff)
downloadmullvadvpn-a044c1b2d8ea5035d21c2e9228475298204fd6fa.tar.xz
mullvadvpn-a044c1b2d8ea5035d21c2e9228475298204fd6fa.zip
rustfmt + tiny test fix
-rw-r--r--talpid_ipc/tests/zmq_integration_tests.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/talpid_ipc/tests/zmq_integration_tests.rs b/talpid_ipc/tests/zmq_integration_tests.rs
index 0e5145dc3c..07469a8f50 100644
--- a/talpid_ipc/tests/zmq_integration_tests.rs
+++ b/talpid_ipc/tests/zmq_integration_tests.rs
@@ -23,7 +23,9 @@ mod zmq_integration_tests {
let message = new_messages_rx.recv_timeout(Duration::from_millis(1000))
.expect("Did not receive a message");
- assert_eq!(message.unwrap(), vec![1, 3, 3, 7], "Did not read the data that was sent");
+ assert_eq!(message.unwrap(),
+ &[1, 3, 3, 7],
+ "Read data does not match sent data");
}
fn start_server() -> (String, Receiver<Result<Vec<u8>>>) {