aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-07 14:23:49 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-07 14:24:32 +0100
commitc65a57e884de51cade584e3f01c7c5627aa6ebd8 (patch)
tree8dfdff1f60c83f15b354e415534bc4f7b62db6f7 /tests
parentf791d96362cbe7ef8435e999adaaf05e6f2683a5 (diff)
Matrix: fix edit being replaced with old message when re-entering the room (without restart)
Add quote colors to 4chan, monospace for codeblocks
Diffstat (limited to 'tests')
-rw-r--r--tests/main.cpp7
1 files changed, 0 insertions, 7 deletions
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 <string.h>
#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 = "<font color=\"#789922\">\n<p>&gt;amazin<br>&gt;asd</p>\n</font>\n<p>feaf</p>\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;
}