]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Format test-digests_hh.cc
authorFred Morcos <fred.morcos@open-xchange.com>
Mon, 22 Jan 2024 14:18:34 +0000 (15:18 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Mon, 22 Jan 2024 23:39:45 +0000 (00:39 +0100)
.not-formatted
pdns/test-digests_hh.cc

index 2ab5828e182972225f07b1db0d92a8ba69e3f62c..ecf20a0344f5c73dd39777d23cd8063ad4fae154 100644 (file)
 ./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
index 124b525b0ca7b7abe0e97a3837a0671ef031eee1..a22bfa8c7b2942973fc4998c88ff0d5f804c5cf1 100644 (file)
@@ -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()