greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.81k stars 472 forks source link

amd_gpu: better error message on device not found #2035

Closed heitorPB closed 3 months ago

heitorPB commented 3 months ago

Improve error message when supplied device is non existent.

Fix #2034

heitorPB commented 3 months ago

How would I add a test for existing devices?

MaxVerevkin commented 3 months ago

No need to add tests, IMO. Just keep the one you added.