From 848ca96890db32eb98d44765886853bed626a4ee Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 26 Mar 2016 16:24:56 +0100 Subject: Add first regression tests I think it's a good idea to add tests after fixing bugs. This is really easy using the spec test infrastructure. --- test/regression.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 test/regression.txt (limited to 'test/regression.txt') diff --git a/test/regression.txt b/test/regression.txt new file mode 100644 index 0000000..c8a1057 --- /dev/null +++ b/test/regression.txt @@ -0,0 +1,34 @@ +### Regression tests + +Issue #113: EOL character weirdness on Windows +(Important: first line ends with CR + CR + LF) + +```````````````````````````````` example +line1 +line2 +. +

line1

+

line2

+```````````````````````````````` + +Issue #114: cmark skipping first character in line +(Important: the blank lines around "Repeatedly" contain a tab.) + +```````````````````````````````` example +By taking it apart + +- alternative solutions +→ +Repeatedly solving +→ +- how techniques +. +

By taking it apart

+ +

Repeatedly solving

+ +```````````````````````````````` -- cgit v1.2.3