13 lines · 353 B · Rust
RawDownload
mod from_loose {    use gix_object::ObjectRef;     #[test]    fn shorter_than_advertised() {        assert_eq!(            ObjectRef::from_loose(b"tree 1000\x00", gix_testtools::object_hash(),)                .unwrap_err()                .to_string(),            "object data was shorter than its size declared in the header"        );    }}

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