Byron / dua-cli

View disk space usage and delete unwanted data, fast.
https://lib.rs/crates/dua-cli
MIT License
3.67k stars 102 forks source link

fix: EntryData size test passes on 32-bit (#197) #198

Closed cinerea0 closed 6 months ago

cinerea0 commented 6 months ago

This allows the EntryData size test to pass on 32-bit targets. This has been proven to work in CI here: https://github.com/void-linux/void-packages/pull/47626.

There are crates like assertables and more_asserts that offer an assert_eq!-like interface for less-than-or-equal-to comparisons if you'd prefer that, but I didn't want to add a dependency on your behalf.


Closes #197.

Byron commented 6 months ago

Thanks a lot for your help!

In future, if you feel like adding dev-dependencies that you made good experiences with, please feel free to do so. I am always looking for new crates that make testing better.