mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
forgot to refactor grammar tests
This commit is contained in:
parent
d211d729d1
commit
f02845aa6c
@ -26,7 +26,7 @@ fn test_import_package_rule() {
|
||||
rule: Rule::import,
|
||||
tokens: [
|
||||
import(0, 11, [
|
||||
package_type(7, 10, [
|
||||
package_or_packages(7, 10, [
|
||||
package(7, 10, [
|
||||
package_name(7, 8, []),
|
||||
package_access(9, 10, [star(9, 10, [])])
|
||||
@ -46,7 +46,7 @@ fn test_import_packages_rule() {
|
||||
rule: Rule::import,
|
||||
tokens: [
|
||||
import(0, 16, [
|
||||
package_type(7, 15, [
|
||||
package_or_packages(7, 15, [
|
||||
packages(7, 15, [
|
||||
package_name(7, 8, []),
|
||||
package_access(10, 11, [
|
||||
@ -71,7 +71,7 @@ fn test_complex_import_rule() {
|
||||
rule: Rule::import,
|
||||
tokens: [
|
||||
import(0, 23, [
|
||||
package_type(7, 22, [
|
||||
package_or_packages(7, 22, [
|
||||
packages(7, 22, [
|
||||
package_name(7, 8, []),
|
||||
package_access(10, 18, [
|
||||
|
Loading…
Reference in New Issue
Block a user