Skip to content

Commit d40ade4

Browse files
committed
add short test case
1 parent ea4e840 commit d40ade4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/Drupal/NamingConventions/ValidEnumCaseUnitTest.inc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,17 @@ enum Test: int {
1111
case FourJSONCase = 4;
1212
case FiveAndAHorseCorrect = 5;
1313
}
14+
15+
// Those are all ok.
16+
enum FiscalQuarter {
17+
case Q1;
18+
case Q2;
19+
case Q3;
20+
case Q4;
21+
}
22+
23+
enum Plan {
24+
case A;
25+
case B;
26+
case C;
27+
}

0 commit comments

Comments
 (0)