[geary/wip/fedora-ytnef] Fix failing test when ytnef support disabled



commit 5c7c382ca5461d427b327bf075f491f14f1dec87
Author: Michael Gratton <mike vee net>
Date:   Tue Apr 16 23:45:38 2019 +1000

    Fix failing test when ytnef support disabled

 test/engine/rfc822-message-test.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/test/engine/rfc822-message-test.vala b/test/engine/rfc822-message-test.vala
index 416c24eb..fe696f6b 100644
--- a/test/engine/rfc822-message-test.vala
+++ b/test/engine/rfc822-message-test.vala
@@ -39,7 +39,9 @@ This is the second line.
         add_test("text_plain_as_html", text_plain_as_html);
         add_test("text_html_as_html", text_html_as_html);
         add_test("text_html_as_plain", text_html_as_plain);
+#if WITH_TNEF_SUPPORT
         add_test("tnef_extract_attachments", tnef_extract_attachments);
+#endif // WITH_TNEF_SUPPORT
         add_test("multipart_alternative_as_plain",
                  multipart_alternative_as_plain);
         add_test("multipart_alternative_as_converted_html",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]