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
Current:
#[parameterized( text = { "aaa", "bab", "😃bc" }, expected = { 'a', 'b', '😃' } )] fn test_peek_first_chars(text: &str, expected: char) { assert_eq!(text.peek_first(), expected); }
declared case by case:
#[parameterized'( triple_a = { "aaa", 'a', }, bab = { "bab", 'b', }, emoji = { text: "😃ab", // optionally named, but original order should be preserved for consistency expected: '😃' } )] fn test_peek_first_chars(text: &str, expected: char) { assert_eq!(text.peek_first(), expected); }
Advantages
Disadvantages:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current:
declared case by case:
Advantages
Disadvantages:
The text was updated successfully, but these errors were encountered: