Showing the changes to git-diff/tests/diff.rs (1 of 4 files). Show all
Unified · Split
| @@ -0,0 +1,12 @@ | ||
| 1 | +pub type Result = std::result::Result<(), Box<dyn std::error::Error>>; | |
| 2 | + | |
| 3 | +mod tree { | |
| 4 | + mod diff_tree { | |
| 5 | + #[test] | |
| 6 | + #[should_panic] | |
| 7 | + fn file_added() { | |
| 8 | + let _ = test_tools::scripted_fixture_repo_read_only("make_diff_repo.sh").unwrap(); | |
| 9 | + todo!("detect an added file in the root tree") | |
| 10 | + } | |
| 11 | + } | |
| 12 | +} | |