Sort was backward

This commit is contained in:
Stephen Paul Weber
2026-09-24 22:07:38 -05:00
parent 2217cbeab3
commit 25dfcba60d
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -32,7 +32,7 @@ TEST_CASE("Hash disco 1") {
auto check_stanza = [](const Stanza &stanza) {
const std::string hash = Xmpp::hash_disco_sha1(stanza);
CHECK(hash == "tdfKhW7S+KYskVHBtEvgPUiK0mA=");
CHECK(hash == "GRREviyyjLzK2wK4QLX5NNF9FmQ=");
};
xml.add_stanza_callback([check_stanza](const Stanza &stanza) {
check_stanza(stanza);
@@ -62,7 +62,7 @@ TEST_CASE("Hash disco 2") {
auto check_stanza = [](const Stanza &stanza) {
const std::string hash = Xmpp::hash_disco_sha1(stanza);
CHECK(hash == "/14s9S+QIGmb2qxhLvEpt/w64gw=");
CHECK(hash == "ga7DGXbUk3tyt5T/WMlqa5qM0zM=");
};
xml.add_stanza_callback([check_stanza](const Stanza &stanza) {
check_stanza(stanza);
@@ -91,7 +91,7 @@ TEST_CASE("Hash disco 2 different order") {
auto check_stanza = [](const Stanza &stanza) {
const std::string hash = Xmpp::hash_disco_sha1(stanza);
CHECK(hash == "/14s9S+QIGmb2qxhLvEpt/w64gw=");
CHECK(hash == "ga7DGXbUk3tyt5T/WMlqa5qM0zM=");
};
xml.add_stanza_callback([check_stanza](const Stanza &stanza) {
check_stanza(stanza);