1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-12-23 12:30:29 +00:00

Fix text case for ExtXMap

This commit is contained in:
Takeru Ohta 2018-02-20 17:33:04 +09:00
parent 0b04431d49
commit 1547d3329b

View file

@ -595,7 +595,8 @@ mod test {
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!(tag.to_string(), text);
assert_eq!(tag.requires_version(), ProtocolVersion::V6);