History

Frame for testing tree(&tree) diffing

Sebastian Thiel committed 5 years ago

Commit 28c78f51 parent 9d038434 files · +64 −0Browse files

Showing the changes to git-diff/tests/diff.rs (1 of 4 files). Show all

Unified · Split

git-diff/tests/diff.rs+12−0
@@ -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+}