added test

This commit is contained in:
Vadim Getmanshchuk 2023-11-30 22:05:20 -06:00 committed by Sebastian Dröge
parent d8e0283ddb
commit 46622345d1

View file

@ -933,6 +933,14 @@ mod tests {
);
}
#[test]
fn empty_comment() {
assert_eq!(
comment_tag(b"#\nxxx"),
Result::Ok(("xxx".as_bytes(), None))
);
}
#[test]
fn quotes() {
assert_eq!(