From 17919e38efb4c454edf48957bbc42f91c109e89e Mon Sep 17 00:00:00 2001 From: Linnnus Date: Fri, 16 Feb 2024 18:34:49 +0100 Subject: test(creole): Add test for empty input --- src/creole-test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/creole-test.c') diff --git a/src/creole-test.c b/src/creole-test.c index 8844a88..76d62af 100644 --- a/src/creole-test.c +++ b/src/creole-test.c @@ -10,6 +10,11 @@ struct { const char *name, *input, *output; } tests[] = { + { + .name = "Empty input produces no output", + .input = "", + .output = "" + }, { .name = "Basic paragraph markup", .input = "Basic paragraph test with <, >, & and \"", -- cgit v1.2.3