Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 1f5e707

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

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
@@ -632,18 +632,6 @@ class Foo(A, B):
632632
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
633633
}
634634

635-
636-
#[test]
637-
#[cfg(feature = "all-nodes-with-ranges")]
638-
fn test_parse_class_with_empty_generic() {
639-
let source = "\
640-
class Foo[](A, B):
641-
pass
642-
";
643-
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
644-
}
645-
646-
647635
#[test]
648636
#[cfg(feature = "all-nodes-with-ranges")]
649637
fn test_parse_class_with_generic_type() {

0 commit comments

Comments
 (0)