Adds a test to warn if the EncodedTerm size changes

pull/10/head
Tpt 6 years ago
parent 9e88e27acf
commit 2e501df297
  1. 7
      src/store/numeric_encoder.rs

@ -410,4 +410,11 @@ mod test {
} }
} }
#[test]
fn test_encoded_term_size() {
use std::mem::size_of;
assert_eq!(size_of::<EncodedTerm>(), 24);
}
} }

Loading…
Cancel
Save