mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
switch to the not-in-place variety of this function
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@773878 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
ddaf3cc479
commit
ee557e29d5
@ -70,7 +70,7 @@ public:
|
||||
void testDecode1()
|
||||
{
|
||||
ByteVector a("\xff\x00\x00", 3);
|
||||
ID3v2::SynchData::decode(a);
|
||||
a = ID3v2::SynchData::decode(a);
|
||||
CPPUNIT_ASSERT_EQUAL((unsigned int)2, a.size());
|
||||
CPPUNIT_ASSERT_EQUAL(ByteVector("\xff\x00", 2), a);
|
||||
}
|
||||
@ -78,7 +78,7 @@ public:
|
||||
void testDecode2()
|
||||
{
|
||||
ByteVector a("\xff\x44", 2);
|
||||
ID3v2::SynchData::decode(a);
|
||||
a = ID3v2::SynchData::decode(a);
|
||||
CPPUNIT_ASSERT_EQUAL((unsigned int)2, a.size());
|
||||
CPPUNIT_ASSERT_EQUAL(ByteVector("\xff\x44", 2), a);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user