Fixed typos in tests

This commit is contained in:
Vincent Esche 2021-01-08 15:41:08 +01:00
parent 6cd93db8a5
commit 4702c01553
3 changed files with 6 additions and 6 deletions

View file

@ -1967,7 +1967,7 @@ fn test_no_space_after_semi_colon() {
#[test]
fn test_rustc_issue_57597() {
fn test_error(fixture: &str) {
assert_eq!(parse_macro_error(fixture), ParseError::RepetitionEmtpyTokenTree);
assert_eq!(parse_macro_error(fixture), ParseError::RepetitionEmptyTokenTree);
}
test_error("macro_rules! foo { ($($($i:ident)?)+) => {}; }");