diff --git a/src/tests/main_tests.rs b/src/tests/main_tests.rs index 999f674..2b68b57 100644 --- a/src/tests/main_tests.rs +++ b/src/tests/main_tests.rs @@ -13,7 +13,7 @@ fn it_works() { #[test] fn can_make_ctrl_c_handler() { 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(); drop(_control_c_called_flag_rx); }