fixed tests
This commit is contained in:
parent
3870a25f87
commit
1f6ff8c0cc
1 changed files with 2 additions and 1 deletions
|
@ -11,8 +11,9 @@ fn it_works() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_make_ctrl_c_handler() {
|
fn can_make_ctrl_c_handler() {
|
||||||
|
let (control_c_flag_tx_1, _control_c_called_flag_rx_1) = sync_flag::new_syncflag(false);
|
||||||
let (control_c_flag_tx, _control_c_called_flag_rx) = sync_flag::new_syncflag(false);
|
let (control_c_flag_tx, _control_c_called_flag_rx) = sync_flag::new_syncflag(false);
|
||||||
crate::setup_control_c(control_c_flag_tx);
|
crate::setup_control_c(control_c_flag_tx, control_c_flag_tx_1);
|
||||||
drop(_control_c_called_flag_rx);
|
drop(_control_c_called_flag_rx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue