()
| 548 | |
| 549 | #[test] |
| 550 | fn test_cd_ok() { |
| 551 | let mut t = Tester::default(); |
| 552 | t.get_storage().borrow_mut().mount("other", "memory://").unwrap(); |
| 553 | t.run("CD \"other:\"").check(); |
| 554 | assert_eq!("OTHER:/", t.get_storage().borrow().cwd()); |
| 555 | t.run("CD \"memory:/\"").check(); |
| 556 | assert_eq!("MEMORY:/", t.get_storage().borrow().cwd()); |
| 557 | } |
| 558 | |
| 559 | #[test] |
| 560 | fn test_cd_errors() { |
nothing calls this directly
no test coverage detected