File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -62,18 +62,3 @@ impl<'a> Commit<'a> {
62
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" ) ) ]
68
- mod 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
- }
Original file line number Diff line number Diff line change @@ -48,17 +48,3 @@ fn linus_signature(time: u32) -> git_actor::immutable::Signature<'static> {
48
48
} ,
49
49
}
50
50
}
51
-
52
- #[ cfg( not( feature = "verbose-object-parsing-errors" ) ) ]
53
- mod object {
54
- use git_object:: immutable:: Object ;
55
-
56
- #[ test]
57
- fn size_in_memory ( ) {
58
- assert_eq ! (
59
- std:: mem:: size_of:: <Object >( ) ,
60
- 216 ,
61
- "Prevent unexpected growth of what should be lightweight objects"
62
- )
63
- }
64
- }
You can’t perform that action at this time.
0 commit comments