From: Fred Morcos Date: Mon, 22 Jan 2024 14:18:34 +0000 (+0100) Subject: Format test-digests_hh.cc X-Git-Tag: dnsdist-1.9.0-rc1~19^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99be55f0d7e30f75a3004dcfa9a11cfb95724832;p=thirdparty%2Fpdns.git Format test-digests_hh.cc --- diff --git a/.not-formatted b/.not-formatted index 2ab5828e18..ecf20a0344 100644 --- a/.not-formatted +++ b/.not-formatted @@ -233,7 +233,6 @@ ./pdns/test-base32_cc.cc ./pdns/test-base64_cc.cc ./pdns/test-common.hh -./pdns/test-digests_hh.cc ./pdns/test-distributor_hh.cc ./pdns/test-dnscrypt_cc.cc ./pdns/test-dnsdist_cc.cc diff --git a/pdns/test-digests_hh.cc b/pdns/test-digests_hh.cc index 124b525b0c..a22bfa8c7b 100644 --- a/pdns/test-digests_hh.cc +++ b/pdns/test-digests_hh.cc @@ -18,18 +18,18 @@ BOOST_AUTO_TEST_SUITE(test_digests_hh) BOOST_AUTO_TEST_CASE(test_pdns_md5sum) { - std::string result = "a3 24 8c e3 1a 88 a6 40 e6 30 73 98 57 6d 06 9e "; - std::string sum = pdns_md5("a quick brown fox jumped over the lazy dog"); + std::string result = "a3 24 8c e3 1a 88 a6 40 e6 30 73 98 57 6d 06 9e "; + std::string sum = pdns_md5("a quick brown fox jumped over the lazy dog"); - BOOST_CHECK_EQUAL(makeHexDump(sum), result); + BOOST_CHECK_EQUAL(makeHexDump(sum), result); } BOOST_AUTO_TEST_CASE(test_pdns_sha1sum) { - std::string result = "b9 37 10 0d c9 57 b3 86 d9 cb 77 fc 90 c0 18 22 fd eb 6e 7f "; - std::string sum = pdns_sha1("a quick brown fox jumped over the lazy dog"); + std::string result = "b9 37 10 0d c9 57 b3 86 d9 cb 77 fc 90 c0 18 22 fd eb 6e 7f "; + std::string sum = pdns_sha1("a quick brown fox jumped over the lazy dog"); - BOOST_CHECK_EQUAL(makeHexDump(sum), result); + BOOST_CHECK_EQUAL(makeHexDump(sum), result); } BOOST_AUTO_TEST_SUITE_END()