From 0fb417ddb647ede98076f69547aae1c9a11222eb Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Tue, 16 Jul 2024 16:49:04 -0300 Subject: [PATCH] add test for decorator in decorator --- tests/suite/syntax/decorator.typ | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/suite/syntax/decorator.typ b/tests/suite/syntax/decorator.typ index b1df81952..58ac77127 100644 --- a/tests/suite/syntax/decorator.typ +++ b/tests/suite/syntax/decorator.typ @@ -95,6 +95,11 @@ this is ok // @allow("aaaaa\") +--- invalid-decorator-in-decorator --- +// Error: 2:18-2:34 cannot have multiple decorators per line + +// @allow("aaa") // @allow("bbb") + --- allow-suppresses-warns-below --- // @allow("unnecessary-stars")