add test checking that process::Command is Send
This commit is contained in:
parent
9e6ed17c4f
commit
077d3434aa
1 changed files with 6 additions and 0 deletions
|
|
@ -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(""))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue