()
| 895 | |
| 896 | #[test] |
| 897 | fn test_input_propagates_interrupt_as_break() { |
| 898 | Tester::default() |
| 899 | .add_input_keys(&[Key::Interrupt, Key::Char('3'), Key::NewLine]) |
| 900 | .run("INPUT a") |
| 901 | .expect_err("Break") |
| 902 | .check() |
| 903 | .run("INPUT a") |
| 904 | .expect_var("a", 3) |
| 905 | .check(); |
| 906 | } |
| 907 | |
| 908 | #[test] |
| 909 | fn test_input_interrupt_cannot_be_caught_during_input() { |
nothing calls this directly
no test coverage detected