()
| 894 | |
| 895 | #[test] |
| 896 | fn test_new_dirty_no_name_continue() { |
| 897 | for answer in YES_ANSWERS { |
| 898 | Tester::default() |
| 899 | .add_input_chars("modified unnamed file\n") |
| 900 | .add_input_chars(answer) |
| 901 | .run("EDIT: NEW") |
| 902 | .expect_prints(["Current program has unsaved changes and has never been saved!"]) |
| 903 | .expect_clear() |
| 904 | .check(); |
| 905 | } |
| 906 | } |
| 907 | |
| 908 | #[test] |
| 909 | fn test_new_dirty_with_name_abort() { |
nothing calls this directly
no test coverage detected