diff options
Diffstat (limited to 'test/lisp/progmodes')
| -rw-r--r-- | test/lisp/progmodes/lua-ts-mode-resources/movement.erts | 58 |
1 files changed, 54 insertions, 4 deletions
diff --git a/test/lisp/progmodes/lua-ts-mode-resources/movement.erts b/test/lisp/progmodes/lua-ts-mode-resources/movement.erts index 11e86f12926..6e2ffb21d0e 100644 --- a/test/lisp/progmodes/lua-ts-mode-resources/movement.erts +++ b/test/lisp/progmodes/lua-ts-mode-resources/movement.erts | |||
| @@ -436,9 +436,9 @@ function f(a, b)| end | |||
| 436 | Name: forward-sexp moves over strings | 436 | Name: forward-sexp moves over strings |
| 437 | 437 | ||
| 438 | =-= | 438 | =-= |
| 439 | print("|1, 2, 3") | 439 | print(|"1, 2, 3") |
| 440 | =-= | 440 | =-= |
| 441 | print("1, 2, 3|") | 441 | print("1, 2, 3"|) |
| 442 | =-=-= | 442 | =-=-= |
| 443 | 443 | ||
| 444 | Name: forward-sexp moves over tables | 444 | Name: forward-sexp moves over tables |
| @@ -557,9 +557,9 @@ function f|(a, b) end | |||
| 557 | Name: backward-sexp moves over strings | 557 | Name: backward-sexp moves over strings |
| 558 | 558 | ||
| 559 | =-= | 559 | =-= |
| 560 | print("1, 2, 3|") | 560 | print("1, 2, 3"|) |
| 561 | =-= | 561 | =-= |
| 562 | print("|1, 2, 3") | 562 | print(|"1, 2, 3") |
| 563 | =-=-= | 563 | =-=-= |
| 564 | 564 | ||
| 565 | Name: backward-sexp moves over tables | 565 | Name: backward-sexp moves over tables |
| @@ -601,3 +601,53 @@ end| | |||
| 601 | end | 601 | end |
| 602 | end | 602 | end |
| 603 | =-=-= | 603 | =-=-= |
| 604 | |||
| 605 | Name: backward-sexp moves over do statements | ||
| 606 | |||
| 607 | =-= | ||
| 608 | do | ||
| 609 | print(a + 1) | ||
| 610 | end| | ||
| 611 | =-= | ||
| 612 | |do | ||
| 613 | print(a + 1) | ||
| 614 | end | ||
| 615 | =-=-= | ||
| 616 | |||
| 617 | Name: backward-sexp moves over for statements | ||
| 618 | |||
| 619 | =-= | ||
| 620 | for k,v in pairs({}) do | ||
| 621 | print(k, v) | ||
| 622 | end| | ||
| 623 | =-= | ||
| 624 | |for k,v in pairs({}) do | ||
| 625 | print(k, v) | ||
| 626 | end | ||
| 627 | =-=-= | ||
| 628 | |||
| 629 | Name: backward-sexp moves over repeat statements | ||
| 630 | |||
| 631 | =-= | ||
| 632 | repeat | ||
| 633 | n = n + 1 | ||
| 634 | until n > 10| | ||
| 635 | =-= | ||
| 636 | |repeat | ||
| 637 | n = n + 1 | ||
| 638 | until n > 10 | ||
| 639 | =-=-= | ||
| 640 | |||
| 641 | Name: backward-sexp moves over while statements | ||
| 642 | |||
| 643 | =-= | ||
| 644 | while n < 99 | ||
| 645 | do | ||
| 646 | n = n+1 | ||
| 647 | end| | ||
| 648 | =-= | ||
| 649 | |while n < 99 | ||
| 650 | do | ||
| 651 | n = n+1 | ||
| 652 | end | ||
| 653 | =-=-= | ||