(root: &Path)
| 2302 | } |
| 2303 | |
| 2304 | fn current_view(root: &Path) -> String { |
| 2305 | let repo = atomic_repository::Repository::open_readonly(root).unwrap(); |
| 2306 | let working_copy = repo.require_working_copy_id().unwrap(); |
| 2307 | repo.desired_view_name(working_copy).unwrap() |
| 2308 | } |
| 2309 | |
| 2310 | #[test] |
| 2311 | fn agent_view_selection_is_native_without_shim_enrollment() { |