Skip to content

Commit

Permalink
forgot to refactor grammar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Feb 9, 2021
1 parent d211d72 commit f02845a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grammar/tests/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, [])])
Expand All @@ -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, [
Expand All @@ -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, [
Expand Down

0 comments on commit f02845a

Please sign in to comment.