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/tests (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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t