aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index eab430d..b9f17e4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -567,6 +567,8 @@ mod test {
} else {
panic!("Wrong descriptor type.");
}
+
+ assert!(parser.next().is_none(), "Extra descriptors.");
}
#[test]