mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2025-01-10 14:45:25 +00:00
added test
This commit is contained in:
parent
d8e0283ddb
commit
46622345d1
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