History

[object] argh, remove these tests for now no time for this

Sebastian Thiel committed 5 years ago

Commit 13d627d1 parent adba3b92 files · +0 −29Browse files

Showing the changes to git-object/src/immutable/commit (1 of 2 files). Show all

Unified · Split

git-object/src/immutable/commit/mod.rs+0−15
@@ -62,18 +62,3 @@ impl<'a> Commit<'a> { · 61 unmodified lines
62 crate::commit::ExtraHeaders::new(self.extra_headers.iter().map(|(k, v)| (*k, v.as_ref())))62 crate::commit::ExtraHeaders::new(self.extra_headers.iter().map(|(k, v)| (*k, v.as_ref())))
63 }63 }
64}64}
65
66#[cfg(test)]
67#[cfg(not(feature = "verbose-object-parsing-errors"))]
68mod tests {
69 use super::*;
70
71 #[test]
72 fn size_of_commit() {
73 assert_eq!(
74 std::mem::size_of::<Commit<'_>>(),
75 216,
76 "the size of an immutable commit shouldn't change unnoticed"
77 );
78 }
79}