From: Tsuda Kageyu Date: Thu, 11 Feb 2016 11:47:55 +0000 (+0900) Subject: Fix a wrong test for base64 decoding. X-Git-Tag: v1.11beta2~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa339eba87f7fc99c83243808588ee20512def19;p=taglib Fix a wrong test for base64 decoding. --- diff --git a/tests/test_bytevector.cpp b/tests/test_bytevector.cpp index 8cd209f1..159502dd 100644 --- a/tests/test_bytevector.cpp +++ b/tests/test_bytevector.cpp @@ -429,7 +429,7 @@ public: CPPUNIT_ASSERT_EQUAL(e3, s3.toBase64()); // Decode - CPPUNIT_ASSERT_EQUAL(sempty, eempty.toBase64()); + CPPUNIT_ASSERT_EQUAL(sempty, ByteVector::fromBase64(eempty)); CPPUNIT_ASSERT_EQUAL(s0, ByteVector::fromBase64(e0)); CPPUNIT_ASSERT_EQUAL(s1, ByteVector::fromBase64(e1)); CPPUNIT_ASSERT_EQUAL(s2, ByteVector::fromBase64(e2));