…as it inexplicably changes object sizes.
Showing the changes to git-object/src/immutable/commit (1 of 2 files). Show all
Unified · Split
| @@ -64,6 +64,7 @@ impl<'a> Commit<'a> { · 63 unmodified lines | |||
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | #[cfg(test)] | 66 | #[cfg(test)] |
| 67 | #[cfg(not(feature = "verbose-object-parsing-errors"))] | ||
| 67 | mod tests { | 68 | mod tests { |
| 68 | use super::*; | 69 | use super::*; |
| 69 | 70 | ||
| @@ -71,7 +72,7 @@ mod tests { · 1 unmodified line | |||
| 71 | fn size_of_commit() { | 72 | fn size_of_commit() { |
| 72 | assert_eq!( | 73 | assert_eq!( |
| 73 | std::mem::size_of::<Commit<'_>>(), | 74 | std::mem::size_of::<Commit<'_>>(), |
| 74 | 208, | 75 | 216, |
| 75 | "the size of an immutable commit shouldn't change unnoticed" | 76 | "the size of an immutable commit shouldn't change unnoticed" |
| 76 | ); | 77 | ); |
| 77 | } | 78 | } |