diff options
author | Linnnus <[email protected]> | 2024-02-16 18:34:49 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-02-16 18:34:49 +0100 |
commit | 17919e38efb4c454edf48957bbc42f91c109e89e (patch) | |
tree | de61eae5776546c3b9bc42d1bf951300c747f13c | |
parent | 1ad63a50dcf01171a3e7b9a04b37d36933a769ef (diff) |
test(creole): Add test for empty input
-rw-r--r-- | src/creole-test.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -11,6 +11,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 \"", .output = "<p>Basic paragraph test with <, >, & and "</p>" |