added test

This commit is contained in:
Vadim Getmanshchuk 2023-11-30 22:05:20 -06:00
parent 5e2defc310
commit 25657ba8c4

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!(