From d582d8a6c6db5f1b2b34c3ac3469ff0a112920d4 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Wed, 29 Nov 2023 14:57:53 -0800 Subject: Update expected output for newer versions of lowdown --- test-convert-markdown.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/test-convert-markdown.c b/test-convert-markdown.c index e33383f..0a2e6d0 100644 --- a/test-convert-markdown.c +++ b/test-convert-markdown.c @@ -65,9 +65,20 @@ int main(void) { errors += test_parse_file("2. Bold", "**bold**", "

bold

\n"); + /* + * Lowdown 1.0.2 removed superfluous newlines between HTML elements (see + * GitHub commit f42602c); as a result, this test will fail for versions + * older than that. + * + * Package or port availability as of 2023-11-29 (amd64-only; not an + * exhaustive list): + * FreeBSD: 1.1.0 (latest), 1.0.2 (quarterly) + * OpenBSD: 1.0.0 + * Ubuntu: 1.0.0 (23.10 and 23.04), 0.10.0 (22.04) + */ errors += test_parse_file("3. Multiline", "# header\n`code`", - "

header

\n\n

code

\n"); + "

header

\n

code

\n"); printf("\n============\nTest Summary\n============\n"); -- cgit v1.2.3