From 028632a3a10202ee21eaaf7ecf13ca7fe331106e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 17 Feb 2023 16:32:48 +0100 Subject: Fix error handling after hashtag --- tests/typ/compiler/while.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/compiler/while.typ') diff --git a/tests/typ/compiler/while.typ b/tests/typ/compiler/while.typ index 8070d2e0..9eea2c37 100644 --- a/tests/typ/compiler/while.typ +++ b/tests/typ/compiler/while.typ @@ -4,7 +4,7 @@ // Should output `2 4 6 8 10`. #let i = 0 #while i < 10 [ - #{ i += 2 } + #(i += 2) #i ] @@ -26,7 +26,7 @@ #test(while false {}, none) #let i = 0 -#test(type(while i < 1 [#{ i += 1 }]), "content") +#test(type(while i < 1 [#(i += 1)]), "content") --- // Condition must be boolean. -- cgit v1.2.3