-
Couldn't load subscription status.
- Fork 13.9k
Description
I wish there is a negative assertion, saying that here one shall not expect a HELP note.
Originally posted by @dingxiangfei2009 in #107251 (comment)
Something that might be nice-to-have is negative ui test error annotations, i.e. that we explicitly want to make sure some diagnostic is not emitted (analogous to FileCheck check-NOT annotations).
Obviously, you can rely on checking the blessed stderr, but a negative ui test annotation could help communicate intent in the test itself and is less prone to accidentally letting the blessed stderr though.
Note: we should probably try to make the directive parser more robust and less hacky before attempting to add more syntax.