-Z help
and/or the z-help.stdout test is fragile
#109391
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
requires-nightly
This issue requires a nightly compiler in some way.
The
-Z help
output is interacting in some way withtests/rustdoc-ui/z-help.stdout
such that the whole thing is fragile.I am consistently seeing problems where, when I rebase my PR that adds a couple
-Z
flags, a large portion of the output diverges (in terms of actual vs expected), but its not on the whole file, its only on the file starting from the entries that follow, e.g.I would like for us to either figure out a way to make the
-Z help
output itself more stable over time (e.g. by putting limits on the lengths of the names, or not being so clever with the formatting as to force the columns to all be aligned for 100% of the entires), or I would like the z-help.stdout output to be normalized so that it doesn't have to be updated in response to whitespace changes in the output.The text was updated successfully, but these errors were encountered: