From 020294fca9a7065d4b9cf4e677f606ebaaa29b00 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 13 Apr 2024 10:39:45 +0200 Subject: Better test runner (#3922) --- tests/typ/text/lorem.typ | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 tests/typ/text/lorem.typ (limited to 'tests/typ/text/lorem.typ') diff --git a/tests/typ/text/lorem.typ b/tests/typ/text/lorem.typ deleted file mode 100644 index 804f804d..00000000 --- a/tests/typ/text/lorem.typ +++ /dev/null @@ -1,32 +0,0 @@ -// Test blind text. - ---- -// Test basic call. -#lorem(19) - ---- -// Test custom paragraphs with user code. -#set text(8pt) - -#{ - let sentences = lorem(59) - .split(".") - .filter(s => s != "") - .map(s => s + ".") - - let used = 0 - for s in sentences { - if used < 2 { - used += 1 - } else { - parbreak() - used = 0 - } - s.trim() - [ ] - } -} - ---- -// Error: 2-9 missing argument: words -#lorem() -- cgit v1.2.3