diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-11-07 14:24:30 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-03-07 07:04:07 -0800 |
commit | b3ea8ccb7af475703b97246a2baf2e105d24d6f9 (patch) | |
tree | 7d0f9685476bd35d332ebd7a43c0193bcb8c040d /src/test/base32_tests.cpp | |
parent | 3296a3bb7fc0a6c47b60c79e968dbf8175d6b716 (diff) |
Simplify Base32 and Base64 conversions
Diffstat (limited to 'src/test/base32_tests.cpp')
-rw-r--r-- | src/test/base32_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/base32_tests.cpp b/src/test/base32_tests.cpp index b9ac62a437..1210c7a7ee 100644 --- a/src/test/base32_tests.cpp +++ b/src/test/base32_tests.cpp @@ -16,9 +16,9 @@ BOOST_AUTO_TEST_CASE(base32_testvectors) for (unsigned int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++) { std::string strEnc = EncodeBase32(vstrIn[i]); - BOOST_CHECK(strEnc == vstrOut[i]); + BOOST_CHECK_EQUAL(strEnc, vstrOut[i]); std::string strDec = DecodeBase32(vstrOut[i]); - BOOST_CHECK(strDec == vstrIn[i]); + BOOST_CHECK_EQUAL(strDec, vstrIn[i]); } } |