()
| 146 | use super::*; |
| 147 | |
| 148 | fn fixture() -> tempfile::TempDir { |
| 149 | let dir = tempfile::tempdir().unwrap(); |
| 150 | let root = dir.path(); |
| 151 | fs::create_dir_all(root.join("dir/sub")).unwrap(); |
| 152 | fs::write(root.join("dir/sub/file.txt"), b"x").unwrap(); |
| 153 | fs::write(root.join("foo.md"), b"y").unwrap(); |
| 154 | dir |
| 155 | } |
| 156 | |
| 157 | #[test] |
| 158 | fn exact_path_reports_metadata() { |