Skip to content

Commit

Permalink
Adds missing test for final constant
Browse files Browse the repository at this point in the history
  • Loading branch information
cfroystad committed Jun 22, 2021
1 parent 56effe7 commit 5e89808
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/corpus/class.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class Foo {
public const B = 2;
protected const C = 3;
private const D = 4;
final const E = 5;
}

---
Expand All @@ -205,6 +206,10 @@ class Foo {
(visibility_modifier)
(const_element (name) (integer))
)
(const_declaration
(final_modifier)
(const_element (name) (integer))
)
)
)
)
Expand Down

0 comments on commit 5e89808

Please sign in to comment.