oli-obk / ui_test

A test framework for testing rustc diagnostics output
27 stars 25 forks source link

Add diff-only output on Text #236

Closed xldenis closed 6 months ago

xldenis commented 6 months ago

This solves #229, I generalized the progress boolean to instead store the desired verbosity and added a method to construct a diff status emitter which just returns an empty drop guard rather than the full text.

The todo list below is accurate: I still need to add tests.

TODO

xldenis commented 6 months ago

Ok I've added a test showing that I actually suppress the full output.

oli-obk commented 6 months ago

Great! Thanks!