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
Syntax:
section "whatever" { each msg in ["Hello", "World"] { then "should be true" { assert!(false, msg); } } }
Should expand into
mod section_whatever { use super::*; mod msg_is_hello { use super::*; #[test] fn then_should_be_true() { { let msg = "Hello"; assert!(false, msg); } } } mod msg_is_world { use super::*; #[test] fn then_should_be_true() { { let msg = "World"; assert!(false, msg); } } } }
Notes:
each item in items
item
items
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Syntax:
Should expand into
Notes:
each item in items
item
should be a pattern anditems
a list of pattern.The text was updated successfully, but these errors were encountered: