Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

cinerea0
Copy link
Contributor

This allows the EntryData size test to pass on 32-bit targets. This has been proven to work in CI here: void-linux/void-packages#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.

EntryData doesn't need to be exactly 80 to test memory consumption, just
less than it.
@Byron
Copy link
Owner

Byron commented Dec 11, 2023

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.

@Byron Byron merged commit 1b838f9 into Byron:main Dec 11, 2023
2 checks passed
@cinerea0 cinerea0 deleted the fix-32bit-test branch December 11, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test fails on 32-bit targets
2 participants