fix: fix grammar conflicts in test cases for parsing table generation
This commit is contained in:
parent
ab9b098aad
commit
ff4c91a614
1 changed files with 2 additions and 1 deletions
|
|
@ -1104,7 +1104,7 @@ mod tests {
|
|||
Variable {
|
||||
name: "v3".to_string(),
|
||||
kind: VariableType::Named,
|
||||
rule: Rule::seq(vec![Rule::string("y"), Rule::repeat(Rule::string("z"))]),
|
||||
rule: Rule::seq(vec![Rule::string("y"), Rule::string("z")]),
|
||||
},
|
||||
],
|
||||
..Default::default()
|
||||
|
|
@ -1480,6 +1480,7 @@ mod tests {
|
|||
rule: Rule::pattern("[\\w-]+", ""),
|
||||
},
|
||||
],
|
||||
expected_conflicts: vec![vec!["type".to_string(), "expression".to_string()]],
|
||||
..Default::default()
|
||||
})
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue