From 9b311c1bb28926e7f3e093ce4f743bd30cdc96b3 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Thu, 27 Jun 2024 20:01:27 -0300 Subject: [PATCH] add suppress on tracepoint test --- tests/suite/syntax/decorator.typ | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/suite/syntax/decorator.typ b/tests/suite/syntax/decorator.typ index cfc78dc9f..4f7238eaf 100644 --- a/tests/suite/syntax/decorator.typ +++ b/tests/suite/syntax/decorator.typ @@ -82,7 +82,7 @@ this is ok // Error: 10-18 invalid character '/' in a decorator's string /! allow("aaaaa\") ---- allow-suppresses-warns --- +--- allow-suppresses-warns-below --- /! allow("unnecessary-stars") #[**] @@ -100,6 +100,18 @@ this is ok /! allow("unnecessary-stars") ** +--- allow-suppresses-warn-with-tracepoint --- +#let f() = { + text(font: "Unbeknownst")[] +} + +#let g() = { + f() +} + +/! allow("unknown-font-families") +#g() + --- 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