aboutsummaryrefslogtreecommitdiff
path: root/src/test/base64_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-11-07 14:24:30 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2018-03-07 07:04:07 -0800
commitb3ea8ccb7af475703b97246a2baf2e105d24d6f9 (patch)
tree7d0f9685476bd35d332ebd7a43c0193bcb8c040d /src/test/base64_tests.cpp
parent3296a3bb7fc0a6c47b60c79e968dbf8175d6b716 (diff)
Simplify Base32 and Base64 conversions
Diffstat (limited to 'src/test/base64_tests.cpp')
-rw-r--r--src/test/base64_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/base64_tests.cpp b/src/test/base64_tests.cpp
index b31f73f3b5..f785cede81 100644
--- a/src/test/base64_tests.cpp
+++ b/src/test/base64_tests.cpp
@@ -16,9 +16,9 @@ BOOST_AUTO_TEST_CASE(base64_testvectors)
for (unsigned int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
{
std::string strEnc = EncodeBase64(vstrIn[i]);
- BOOST_CHECK(strEnc == vstrOut[i]);
+ BOOST_CHECK_EQUAL(strEnc, vstrOut[i]);
std::string strDec = DecodeBase64(strEnc);
- BOOST_CHECK(strDec == vstrIn[i]);
+ BOOST_CHECK_EQUAL(strDec, vstrIn[i]);
}
}