summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/process/monitor.rs2
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);