mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2025-03-13 09:42:39 +00:00
added test
This commit is contained in:
parent
5e2defc310
commit
25657ba8c4
1 changed files with 8 additions and 0 deletions
|
@ -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!(
|
||||
|
|
Loading…
Reference in a new issue