mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-12 13:42:34 +00:00
ID3v2: Fix some comment tests
This commit is contained in:
parent
928410da6a
commit
dc80f763a3
2 changed files with 4 additions and 4 deletions
|
@ -207,8 +207,8 @@ fn tag_to_id3v2() {
|
|||
assert_eq!(
|
||||
frame,
|
||||
&Frame::Comment(CommentFrame::new(
|
||||
TextEncoding::Latin1,
|
||||
*b"eng",
|
||||
TextEncoding::UTF8,
|
||||
*b"XXX",
|
||||
EMPTY_CONTENT_DESCRIPTOR,
|
||||
String::from("Qux comment"),
|
||||
))
|
||||
|
|
|
@ -18,7 +18,7 @@ fn tag_to_id3v2_lang_frame() {
|
|||
id3.get(&FrameId::Valid(Cow::Borrowed("USLT"))),
|
||||
Some(&Frame::UnsynchronizedText(UnsynchronizedTextFrame::new(
|
||||
TextEncoding::UTF8,
|
||||
*b"eng",
|
||||
*b"XXX",
|
||||
String::new(),
|
||||
String::from("Test lyrics")
|
||||
)))
|
||||
|
@ -28,7 +28,7 @@ fn tag_to_id3v2_lang_frame() {
|
|||
id3.get(&FrameId::Valid(Cow::Borrowed("COMM"))),
|
||||
Some(&Frame::Comment(CommentFrame::new(
|
||||
TextEncoding::UTF8,
|
||||
*b"eng",
|
||||
*b"XXX",
|
||||
String::new(),
|
||||
String::from("Test comment")
|
||||
)))
|
||||
|
|
Loading…
Reference in a new issue