Skip to content

Commit

Permalink
Add missing paren tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Nov 3, 2022
1 parent 3cd111b commit f78cd04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/core/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@ mod tests {
deser_test(&max);
}

#[test]
fn paren_types() {
{
let _: ParenSize = 5u8;
}
{
let cbor = ParenCbor::new("foo".to_string());
// TODO: fix this assert by inputting the right value
assert_eq!(cbor.to_bytes(), vec![]);
}
}

#[test]
fn toplevel_types() {
{
Expand Down

0 comments on commit f78cd04

Please sign in to comment.