History

[git-ref] the first failing test

Sebastian Thiel committed 5 years ago

Commit 7e802a01 parent c5241b813 files · +72 −49Browse files

Showing the changes to git-diff (1 of 13 files). Show all

Unified · Split

git-diff/tests/diff.rs+1−3
@@ -1,7 +1,5 @@
1pub type Result<T = ()> = std::result::Result<T, Box<dyn std::error::Error>>;1pub type Result<T = ()> = std::result::Result<T, Box<dyn std::error::Error>>;
2 2
3pub fn hex_to_id(hex: &str) -> git_hash::ObjectId {3pub use git_testtools::hex_to_id;
4 git_hash::ObjectId::from_hex(hex.as_bytes()).expect("40 bytes hex")
5}
6 4
7mod visit;5mod visit;