…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 | 66 | #[cfg(test)] |
| 67 | +#[cfg(not(feature = "verbose-object-parsing-errors"))] | |
| 67 | 68 | mod tests { |
| 68 | 69 | use super::*; |
| 69 | 70 | |
| @@ -71,7 +72,7 @@ mod tests { · 1 unmodified line | ||
| 71 | 72 | fn size_of_commit() { |
| 72 | 73 | assert_eq!( |
| 73 | 74 | std::mem::size_of::<Commit<'_>>(), |
| 74 | − 208, | |
| 75 | + 216, | |
| 75 | 76 | "the size of an immutable commit shouldn't change unnoticed" |
| 76 | 77 | ); |
| 77 | 78 | } |