bob, jid_prep, cert_management: Add size tests for 32-bit.
This commit is contained in:
parent
8b54b7fd43
commit
eac385700c
3 changed files with 33 additions and 2 deletions
|
|
@ -46,6 +46,14 @@ mod tests {
|
|||
use std::convert::TryFrom;
|
||||
use std::str::FromStr;
|
||||
|
||||
#[cfg(target_pointer_width = "32")]
|
||||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(JidPrepQuery, 12);
|
||||
assert_size!(JidPrepResponse, 40);
|
||||
}
|
||||
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(JidPrepQuery, 24);
|
||||
|
|
|
|||
Loading…
Reference in a new issue