()
| 415 | |
| 416 | #[test] |
| 417 | fn test_autoexec_name_is_case_sensitive() { |
| 418 | let tester = Tester::default() |
| 419 | .write_file("AUTOEXEC.BAS", "a = 1") |
| 420 | .write_file("autoexec.bas", "a = 2"); |
| 421 | let (console, storage) = (tester.get_console(), tester.get_storage()); |
| 422 | let mut continuation = tester.continue_from_here(); |
| 423 | block_on(try_load_autoexec(continuation.get_machine(), console, storage)).unwrap(); |
| 424 | continuation |
| 425 | .run("") |
| 426 | .expect_file("MEMORY:/AUTOEXEC.BAS", "a = 1") |
| 427 | .expect_file("MEMORY:/autoexec.bas", "a = 2") |
| 428 | .check(); |
| 429 | } |
| 430 | |
| 431 | #[test] |
| 432 | fn test_autoexec_missing() { |
nothing calls this directly
no test coverage detected