Test the size of every struct defined here.
This commit is contained in:
parent
9cb4f00341
commit
40aedcf184
43 changed files with 295 additions and 0 deletions
|
|
@ -25,6 +25,11 @@ mod tests {
|
|||
use minidom::Element;
|
||||
use error::Error;
|
||||
|
||||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(Replace, 24);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_simple() {
|
||||
let elem: Element = "<replace xmlns='urn:xmpp:message-correct:0' id='coucou'/>".parse().unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue