libpurple/tests/test_message.c

changeset 42540
edc1281d605e
parent 42349
fbcea290a1f6
child 42756
60e003f0c3fc
--- a/libpurple/tests/test_message.c	Mon Dec 04 01:11:39 2023 -0600
+++ b/libpurple/tests/test_message.c	Mon Dec 04 01:22:39 2023 -0600
@@ -39,7 +39,6 @@
 static void
 test_purple_message_properties(void) {
 	PurpleMessage *message = NULL;
-	PurpleMessageContentType content_type = 0;
 	PurpleMessageFlags flags = 0;
 	GDateTime *timestamp = NULL;
 	GDateTime *timestamp1 = NULL;
@@ -76,7 +75,6 @@
 		"edited", TRUE,
 		"recipient", "pidgy",
 		"contents", "Now that is a big door",
-		"content-type", PURPLE_MESSAGE_CONTENT_TYPE_MARKDOWN,
 		"timestamp", timestamp,
 		"flags", PURPLE_MESSAGE_SYSTEM,
 		"error", error,
@@ -95,7 +93,6 @@
 		"edited-at", &edited_at1,
 		"recipient", &recipient,
 		"contents", &contents,
-		"content-type", &content_type,
 		"timestamp", &timestamp1,
 		"flags", &flags,
 		"error", &error1,
@@ -112,7 +109,6 @@
 	g_assert_nonnull(edited_at1);
 	g_assert_cmpstr(recipient, ==, "pidgy");
 	g_assert_cmpstr(contents, ==, "Now that is a big door");
-	g_assert_cmpint(content_type, ==, PURPLE_MESSAGE_CONTENT_TYPE_MARKDOWN);
 	g_assert_true(g_date_time_equal(timestamp1, timestamp));
 	g_assert_cmpint(flags, ==, PURPLE_MESSAGE_SYSTEM);
 	g_assert_error(error1, error->domain, error->code);

mercurial