Skip to content

Commit 76a3245

Browse files
committed
Remove test for empty generic class Foo[]: ...
Not valid syntax
1 parent d923aa9 commit 76a3245

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

parser/src/parser.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -636,18 +636,6 @@ class Foo(A, B):
636636
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
637637
}
638638

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-
651639
#[test]
652640
#[cfg(feature = "all-nodes-with-ranges")]
653641
fn test_parse_class_with_generic_type() {

0 commit comments

Comments
 (0)