diff --git a/lofty/src/id3/v2/tag/tests.rs b/lofty/src/id3/v2/tag/tests.rs index fae1ed33..8b6b8556 100644 --- a/lofty/src/id3/v2/tag/tests.rs +++ b/lofty/src/id3/v2/tag/tests.rs @@ -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"), )) diff --git a/lofty/tests/tags/conversions.rs b/lofty/tests/tags/conversions.rs index ca2f5f67..e3ac2f6a 100644 --- a/lofty/tests/tags/conversions.rs +++ b/lofty/tests/tags/conversions.rs @@ -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") )))