()
| 884 | |
| 885 | #[test] |
| 886 | fn test_modified_time() { |
| 887 | let wc = Memory::new(); |
| 888 | wc.add_file("test.txt", b""); |
| 889 | |
| 890 | let time = wc.modified_time("test.txt").unwrap(); |
| 891 | assert!(time > SystemTime::UNIX_EPOCH); |
| 892 | } |
| 893 | |
| 894 | #[test] |
| 895 | fn test_exists() { |
nothing calls this directly
no test coverage detected