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) empty
As an user of test case I want to be able to test whether actual value is empty within complex assertions, eg.:
actual
#[test_case("1" => is empty)] // fails #[test_case("" => is empty)] // succeeds fn test_this(s: &str) -> &str { s }
We can rely on #expr.is_empty() and that user supplies a type that has such function.
#expr.is_empty()
The text was updated successfully, but these errors were encountered:
is
it
empty
Successfully merging a pull request may close this issue.
As an user of test case I want to be able to test whether
actual
value is empty within complex assertions, eg.:We can rely on
#expr.is_empty()
and that user supplies a type that has such function.The text was updated successfully, but these errors were encountered: