From f8730b09f32afef463dbc9fbc43741af1b5b6426 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Thu, 27 Jun 2024 20:21:52 -0300 Subject: [PATCH] add test for decorator at end of line --- tests/suite/syntax/decorator.typ | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/suite/syntax/decorator.typ b/tests/suite/syntax/decorator.typ index 4f7238eaf..47578ec96 100644 --- a/tests/suite/syntax/decorator.typ +++ b/tests/suite/syntax/decorator.typ @@ -112,6 +112,12 @@ this is ok /! allow("unknown-font-families") #g() +--- allow-suppresses-line-below-but-not-same-line --- +// Warning: 3-5 no text within stars +// Hint: 3-5 using multiple consecutive stars (e.g. **) has no additional effect +#[**] /! allow("unnecessary-stars") +#[**] + --- allow-before-parbreak-doesnt-suppress-warn --- // Warning: 3:3-3:5 no text within stars // Hint: 3:3-3:5 using multiple consecutive stars (e.g. **) has no additional effect