This commit is contained in:
Zanie 2023-07-13 14:56:26 -05:00
parent f96642aac4
commit b9d283fd2d
2 changed files with 12 additions and 12 deletions

View file

@ -636,7 +636,6 @@ class Foo(A, B):
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
}
#[test]
#[cfg(feature = "all-nodes-with-ranges")]
fn test_parse_class_generic_types() {
@ -895,7 +894,6 @@ except* OSError as e:
assert!(parse(source, Mode::Interactive, "<embedded>").is_ok());
}
#[test]
#[cfg(feature = "all-nodes-with-ranges")]
fn test_parse_type_declaration() {
@ -925,7 +923,10 @@ print(type(12))
use crate::lexer::lex;
let lexer = lex(source, Mode::Module);
println!("tokens {:#?}", lexer.map(|x| x.unwrap().0).collect::<Vec<_>>());
println!(
"tokens {:#?}",
lexer.map(|x| x.unwrap().0).collect::<Vec<_>>()
);
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
}

View file

@ -112,7 +112,6 @@ where
next = Some(Ok((soft_to_name(tok), *range)));
}
}
}
}