mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-12-24 04:50:30 +00:00
Fix text case for ExtXMap
This commit is contained in:
parent
0b04431d49
commit
1547d3329b
1 changed files with 2 additions and 1 deletions
|
@ -595,7 +595,8 @@ mod test {
|
||||||
start: Some(2),
|
start: Some(2),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
let text = r#"#EXT-X-MAP:URI="foo",BYTERANGE=9@2"#;
|
let text = r#"#EXT-X-MAP:URI="foo",BYTERANGE="9@2""#;
|
||||||
|
track_try_unwrap!(ExtXMap::from_str(text));
|
||||||
assert_eq!(text.parse().ok(), Some(tag.clone()));
|
assert_eq!(text.parse().ok(), Some(tag.clone()));
|
||||||
assert_eq!(tag.to_string(), text);
|
assert_eq!(tag.to_string(), text);
|
||||||
assert_eq!(tag.requires_version(), ProtocolVersion::V6);
|
assert_eq!(tag.requires_version(), ProtocolVersion::V6);
|
||||||
|
|
Loading…
Reference in a new issue