diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-01-09 16:24:42 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-01-09 16:24:42 +0100 |
| commit | 8495e58dffeb3450f55a2042bf494ff5e20e12c1 (patch) | |
| tree | 22a3f88e143a4f8d2fbaf64a5555df1675cea8a4 | |
| parent | 168ffeb02f273c7f3c36256fb2c7e20bc95df311 (diff) | |
| download | mullvadvpn-8495e58dffeb3450f55a2042bf494ff5e20e12c1.tar.xz mullvadvpn-8495e58dffeb3450f55a2042bf494ff5e20e12c1.zip | |
Fix formatting on macro
| -rw-r--r-- | src/process/monitor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/monitor.rs b/src/process/monitor.rs index 7e804bb1f0..f4f83bca2f 100644 --- a/src/process/monitor.rs +++ b/src/process/monitor.rs @@ -432,7 +432,7 @@ mod child_monitor { /// 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) => {{ + ($rx:ident, $expected:pat) => {{ let result = $rx.recv_timeout(Duration::new(1, 0)); if let $expected = result {} else { let msg = stringify!($expected); |
