From b37954110d2184279a7f400d8750996a27b8f666 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 5 Feb 2014 20:18:51 +0100 Subject: Bring back unit tests (they should be removed when creating a package) --- tests/src/format-flowed-unfolded.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/src/format-flowed-unfolded.txt (limited to 'tests/src/format-flowed-unfolded.txt') diff --git a/tests/src/format-flowed-unfolded.txt b/tests/src/format-flowed-unfolded.txt new file mode 100644 index 000000000..0af9b7130 --- /dev/null +++ b/tests/src/format-flowed-unfolded.txt @@ -0,0 +1,19 @@ +I'm replying on this with a very long line which is then wrapped and space-stuffed because the draft is saved as format=flowed. +From what's specified in RFC 2646 some lines need to be space-stuffed to avoid muning during transport. + +X + +On XX.YY.YYYY Y:YY, Somebody wrote: +> This part is a reply wihtout any flowing lines. rcube_mime::unfold_flowed() +>> has to be careful with empty quoted lines because they might end with a +> space but still shouldn't be considered as flowed! +> +> The above empty line should persist after unfolding. +> xxxxxxxxxx. xxxx xxxxx xxxxx xxxx xx xx.xx. xxxxxx xxxxxxxxxxxx, xxxx xx +> +> ... and this one as well. + +> > text + +-- +Sig -- cgit v1.2.3