()
| 845 | |
| 846 | #[test] |
| 847 | fn test_load_errors() { |
| 848 | check_load_save_common_errors("LOAD"); |
| 849 | |
| 850 | Tester::default() |
| 851 | .run("LOAD") |
| 852 | .expect_compilation_err("1:1: LOAD expected filename$") |
| 853 | .check(); |
| 854 | |
| 855 | check_stmt_err("1:1: Entry not found", r#"LOAD "missing-file""#); |
| 856 | |
| 857 | Tester::default() |
| 858 | .write_file("mismatched-extension.bat", "") |
| 859 | .run(r#"LOAD "mismatched-extension""#) |
| 860 | .expect_err("1:1: Entry not found") |
| 861 | .expect_file("MEMORY:/mismatched-extension.bat", "") |
| 862 | .check(); |
| 863 | } |
| 864 | |
| 865 | #[test] |
| 866 | fn test_new_nothing() { |
nothing calls this directly
no test coverage detected