We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
class Foo[]: ...
1 parent d923aa9 commit 76a3245Copy full SHA for 76a3245
1 file changed
parser/src/parser.rs
@@ -636,18 +636,6 @@ class Foo(A, B):
636
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
637
}
638
639
-
640
- #[test]
641
- #[cfg(feature = "all-nodes-with-ranges")]
642
- fn test_parse_class_with_empty_generic() {
643
- let source = "\
644
-class Foo[](A, B):
645
- pass
646
-";
647
- insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
648
- }
649
650
651
#[test]
652
#[cfg(feature = "all-nodes-with-ranges")]
653
fn test_parse_class_with_generic_type() {
0 commit comments