add test checking that process::Command is Send

This commit is contained in:
Corentin Henry 2018-01-26 07:33:58 -08:00
parent 9e6ed17c4f
commit 077d3434aa

View file

@ -1843,4 +1843,10 @@ mod tests {
}
assert!(events > 0);
}
#[test]
fn test_command_implements_send() {
fn take_send_type<T: Send>(_: T) {}
take_send_type(Command::new(""))
}
}