From aa339eba87f7fc99c83243808588ee20512def19 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Thu, 11 Feb 2016 20:47:55 +0900 Subject: [PATCH] Fix a wrong test for base64 decoding. --- tests/test_bytevector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.40.0