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