diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-05-22 12:40:14 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-05-22 12:40:14 +0200 |
| commit | 8024ab41115b2a6b7f8a2cee1d3bd0835976922d (patch) | |
| tree | 7e5c80d3dd09df6b6d776c9d8020d4b847e1c00e | |
| parent | 8f5f33a79bcf8e6acf718aeb6b4fac22e97a6e4f (diff) | |
| download | mullvadvpn-8024ab41115b2a6b7f8a2cee1d3bd0835976922d.tar.xz mullvadvpn-8024ab41115b2a6b7f8a2cee1d3bd0835976922d.zip | |
Remove unused macro
| -rw-r--r-- | talpid_core/src/process/monitor.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/talpid_core/src/process/monitor.rs b/talpid_core/src/process/monitor.rs index bab2876e05..6914d8d821 100644 --- a/talpid_core/src/process/monitor.rs +++ b/talpid_core/src/process/monitor.rs @@ -57,15 +57,6 @@ mod child_monitor_tests { use std::sync::mpsc; use std::time::Duration; - /// Tries to recv a message from the given `$rx` for one second and tries to match it with the - /// given expected value, `$expected` - macro_rules! assert_event { - ($rx:ident, $expected:pat) => {{ - let result = $rx.recv_timeout(Duration::new(1, 0)); - assert_matches!(result, $expected); - }} - } - fn echo_cmd(s: &str) -> Expression { cmd("echo", &[s]).stdout_capture().unchecked() } |
