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

Calling deserialize_bytes() on an incompatible array should fail. #45

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

bhalleycf
Copy link
Contributor

This tests that trying to deserialize [100, "xyz", true] and [100, 256, 100] into bytes both fail, as neither is compatible with a Vec of u8.

tests/common/mod.rs Outdated Show resolved Hide resolved
@bhalleycf bhalleycf force-pushed the test-bad-bytes-deserialize branch from e8d5bf4 to ce6abb1 Compare March 6, 2023 18:18
@RReverser RReverser merged commit 620cb3d into RReverser:master Mar 6, 2023
@RReverser
Copy link
Owner

Thanks!

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.

2 participants