diff options
author | Johannes Heinz | 2019-07-19 13:07:42 +0200 |
---|---|---|
committer | Johannes Heinz | 2019-07-19 13:07:42 +0200 |
commit | 72d51780c55dc09a438b442f8b70a4e64e06e024 (patch) | |
tree | c435e4458831b7ea36330f73da1fce213515f062 /test_compose.patch | |
parent | 723e2f21aa3394a9842732e89a47de889e0f1b10 (diff) | |
download | aur-72d51780c55dc09a438b442f8b70a4e64e06e024.tar.gz |
fix test: add patch for test_composed_message.cc
Diffstat (limited to 'test_compose.patch')
-rw-r--r-- | test_compose.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test_compose.patch b/test_compose.patch new file mode 100644 index 000000000000..d116f1a92a34 --- /dev/null +++ b/test_compose.patch @@ -0,0 +1,42 @@ +diff --unified --recursive --text src.old/astroid-0.15/tests/test_composed_message.cc src.new/astroid-0.15/tests/test_composed_message.cc +--- src.old/astroid-0.15/tests/test_composed_message.cc 2019-07-17 13:25:08.000000000 +0200 ++++ src.new/astroid-0.15/tests/test_composed_message.cc 2019-07-19 11:58:45.275305696 +0200 +@@ -12,6 +12,8 @@ + + BOOST_AUTO_TEST_SUITE(Composing) + ++ ustring newline = "\n"; ++ + BOOST_AUTO_TEST_CASE(compose_read_test) + { + using Astroid::ComposeMessage; +@@ -47,6 +49,9 @@ + + ustring rbdy = m.plain_text (false); + ++ // Fixme: hotfix ++ bdy += newline; ++ + BOOST_CHECK_MESSAGE (bdy == rbdy, "message reading produces the same output as compose message input"); + + unlink (fn.c_str ()); +@@ -81,6 +86,9 @@ + + ustring rbdy = m.plain_text (false); + ++ // Fixme: hotfix ++ bdy += newline; ++ + BOOST_CHECK_MESSAGE (bdy == rbdy, "message reading produces the same output as compose message input"); + + teardown (); +@@ -208,6 +216,9 @@ + + ustring rbdy = m.plain_text (false); + ++ // Fixme: hotfix ++ bdy += newline; ++ + BOOST_CHECK_MESSAGE (bdy == rbdy, "message reading produces the same output as compose message input"); + + unlink (fn.c_str ()); |