From c65a57e884de51cade584e3f01c7c5627aa6ebd8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 7 Nov 2022 14:23:49 +0100 Subject: Matrix: fix edit being replaced with old message when re-entering the room (without restart) Add quote colors to 4chan, monospace for codeblocks --- tests/main.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests') diff --git a/tests/main.cpp b/tests/main.cpp index c076e14..41ef45d 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -2,7 +2,6 @@ #include #include "../include/NetUtils.hpp" #include "../plugins/utils/EpisodeNameParser.hpp" -#include "../plugins/Matrix.hpp" #include "../generated/Emoji.hpp" #define assert_fail(str) do { fprintf(stderr, "Assert failed on line %d, reason: %s\n", __LINE__, (str)); exit(1); } while(0) @@ -113,11 +112,5 @@ int main() { assert_equals(emoji_sequence_length, 4); assert_equals(emoji_sequence_byte_length, 13); - const std::string formatted_text = "\n

>amazin
>asd

\n
\n

feaf

\n"; - const std::string qm_text = formatted_text_to_qm_text(formatted_text.c_str(), formatted_text.size()); - for(char c : qm_text) { - fprintf(stderr, "%c(%02x) ", c, *(uint8_t*)&c); - } - return 0; } -- cgit v1.2.3