aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-09-02 19:41:50 +0100
committerAleksey Kladov <[email protected]>2019-09-02 19:52:06 +0100
commite94587e3153b52684fd3f6b82c8e7efc09ff5c8d (patch)
tree6d268b721027a5350928a6c5a0ec227b5fde8ebc /crates/ra_mbe/src
parent5e3f291195b580580be7ce5622f54ebca75fb9f0 (diff)
fix assists
Diffstat (limited to 'crates/ra_mbe/src')
-rw-r--r--crates/ra_mbe/src/tests.rs31
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