diff options
Diffstat (limited to 'crates/ra_mbe')
-rw-r--r-- | crates/ra_mbe/src/tests.rs | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/crates/ra_mbe/src/tests.rs b/crates/ra_mbe/src/tests.rs index 1dbf22997..034ea639b 100644 --- a/crates/ra_mbe/src/tests.rs +++ b/crates/ra_mbe/src/tests.rs | |||
@@ -678,21 +678,22 @@ fn test_expr_order() { | |||
678 | PARAM_LIST@[5; 7) | 678 | PARAM_LIST@[5; 7) |
679 | L_PAREN@[5; 6) "(" | 679 | L_PAREN@[5; 6) "(" |
680 | R_PAREN@[6; 7) ")" | 680 | R_PAREN@[6; 7) ")" |
681 | BLOCK@[7; 15) | 681 | BLOCK_EXPR@[7; 15) |
682 | L_CURLY@[7; 8) "{" | 682 | BLOCK@[7; 15) |
683 | EXPR_STMT@[8; 14) | 683 | L_CURLY@[7; 8) "{" |
684 | BIN_EXPR@[8; 13) | 684 | EXPR_STMT@[8; 14) |
685 | BIN_EXPR@[8; 11) | 685 | BIN_EXPR@[8; 13) |
686 | LITERAL@[8; 9) | 686 | BIN_EXPR@[8; 11) |
687 | INT_NUMBER@[8; 9) "1" | 687 | LITERAL@[8; 9) |
688 | PLUS@[9; 10) "+" | 688 | INT_NUMBER@[8; 9) "1" |
689 | LITERAL@[10; 11) | 689 | PLUS@[9; 10) "+" |
690 | INT_NUMBER@[10; 11) "1" | 690 | LITERAL@[10; 11) |
691 | STAR@[11; 12) "*" | 691 | INT_NUMBER@[10; 11) "1" |
692 | LITERAL@[12; 13) | 692 | STAR@[11; 12) "*" |
693 | INT_NUMBER@[12; 13) "2" | 693 | LITERAL@[12; 13) |
694 | SEMI@[13; 14) ";" | 694 | INT_NUMBER@[12; 13) "2" |
695 | R_CURLY@[14; 15) "}""#, | 695 | SEMI@[13; 14) ";" |
696 | R_CURLY@[14; 15) "}""#, | ||
696 | ); | 697 | ); |
697 | } | 698 | } |
698 | 699 | ||