From beca01c826ee51c9ee6d5eadd7e5ef10f7fb9f58 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 18 Mar 2022 23:36:18 +0100 Subject: Methods --- tests/typ/code/if.typ | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/typ/code/if.typ') diff --git a/tests/typ/code/if.typ b/tests/typ/code/if.typ index 0ab5c495..0d87c689 100644 --- a/tests/typ/code/if.typ +++ b/tests/typ/code/if.typ @@ -60,10 +60,10 @@ #let nth(n) = { str(n) - (if n == 1 { "st" } - else if n == 2 { "nd" } - else if n == 3 { "rd" } - else { "th" }) + if n == 1 { "st" } + else if n == 2 { "nd" } + else if n == 3 { "rd" } + else { "th" } } #test(nth(1), "1st") -- cgit v1.2.3