add test for decorator at end of line

This commit is contained in:
PgBiel 2024-06-27 20:21:52 -03:00
parent 9b311c1bb2
commit f8730b09f3

View File

@ -112,6 +112,12 @@ this is ok
/! allow("unknown-font-families") /! allow("unknown-font-families")
#g() #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 --- --- allow-before-parbreak-doesnt-suppress-warn ---
// Warning: 3:3-3:5 no text within stars // Warning: 3:3-3:5 no text within stars
// Hint: 3:3-3:5 using multiple consecutive stars (e.g. **) has no additional effect // Hint: 3:3-3:5 using multiple consecutive stars (e.g. **) has no additional effect