From fdfd880f63ee6501c8d2af59db5c738de31debd8 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Thu, 20 Jun 2024 22:20:39 -0300 Subject: [PATCH] add decorator tests --- tests/suite/syntax/decorator.typ | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/suite/syntax/decorator.typ diff --git a/tests/suite/syntax/decorator.typ b/tests/suite/syntax/decorator.typ new file mode 100644 index 000000000..b2d01d5f5 --- /dev/null +++ b/tests/suite/syntax/decorator.typ @@ -0,0 +1,16 @@ +// Test decorators. + +--- decorator --- + +/! allow("unnecessary-stars") +#[*a*] + +#{ + /! allow("unnecessary-stars") + [*a*] +} + +$ + /! allow("unnecessary-stars") + #[*a*] +$