mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
add suppress on tracepoint test
This commit is contained in:
parent
eebd7f49fe
commit
9b311c1bb2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user