Merge pull request #24 from Byron/repeat-edge-cases
'{0}' label is not shown anymore
This commit is contained in:
@@ -54,6 +54,13 @@ describe('parser/javascript/repeat.js', function() {
|
||||
hasSkip: false,
|
||||
hasLoop: false
|
||||
},
|
||||
'{0}': {
|
||||
minimum: 0,
|
||||
maximum: 0,
|
||||
greedy: true,
|
||||
hasSkip: true,
|
||||
hasLoop: false
|
||||
},
|
||||
'{1}?': {
|
||||
minimum: 1,
|
||||
maximum: 1,
|
||||
@@ -202,6 +209,11 @@ describe('parser/javascript/repeat.js', function() {
|
||||
maximum: -1,
|
||||
label: undefined
|
||||
},
|
||||
{
|
||||
minimum: 0,
|
||||
maximum: 0,
|
||||
label: undefined
|
||||
},
|
||||
{
|
||||
minimum: 2,
|
||||
maximum: -1,
|
||||
|
||||
Reference in New Issue
Block a user