sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

Replace returning Result with panics inside the test framework

Open bjorn3 opened this issue 6 months ago • 0 comments
trafficstars

This has the advantage that the actual source location of the failing command is shown, which is especially useful when multiple a test runs multiple commands. In addition the panic messages provide extra context like the command that failed.

bjorn3 avatar Apr 25 '25 14:04 bjorn3