We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
is (not) len ...
As an user of test case I want to be able to test for lenght of actual value within complex assertions, eg.:
actual
#[test_case(b"1" => is len 1)] fn test_this(s: &[u8]) -> &[u8] { s }
This feature can use simple #expr.len() and assume user uses type that supplies len method
#expr
len
The text was updated successfully, but these errors were encountered:
is
it
is (not)
Successfully merging a pull request may close this issue.
As an user of test case I want to be able to test for lenght of
actual
value within complex assertions, eg.:This feature can use simple
#expr
.len() and assume user uses type that supplieslen
methodThe text was updated successfully, but these errors were encountered: