Skip to content

Commit c74a9f5

Browse files
committed
another test
1 parent b94987c commit c74a9f5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/macros.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,13 @@ mod tests {
8888
assert_eq!(d.x, 3);
8989
assert_eq!(d.y, true);
9090
}
91+
92+
#[test]
93+
fn test_empty_struct() {
94+
asn1!(
95+
Empty ::= SEQUENCE {}
96+
);
97+
98+
assert_eq!(Empty, Empty);
99+
}
91100
}

0 commit comments

Comments
 (0)