diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-12 16:15:00 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-12 16:15:00 +0100 |
commit | 3d6889cba72a9d02199f7adaa2ecc69bc30af834 (patch) | |
tree | a17351b1e3addea0a719f38990fea9289b6ef65e /crates/ra_mbe/src/tests.rs | |
parent | a573e088ac64eeeb19e4fc74be2ff019be510477 (diff) | |
parent | 50a02eb3593591a02677e1b56f24d7ff0459b9d0 (diff) |
Merge #5727
5727: Rename ra_parser -> parser
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/tests.rs')
-rw-r--r-- | crates/ra_mbe/src/tests.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_mbe/src/tests.rs b/crates/ra_mbe/src/tests.rs index 286983d60..be39b0e45 100644 --- a/crates/ra_mbe/src/tests.rs +++ b/crates/ra_mbe/src/tests.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | use std::fmt::Write; | 1 | use std::fmt::Write; |
2 | 2 | ||
3 | use ra_parser::FragmentKind; | 3 | use ::parser::FragmentKind; |
4 | use ra_syntax::{ast, AstNode, NodeOrToken, SyntaxKind::IDENT, SyntaxNode, WalkEvent, T}; | 4 | use ra_syntax::{ast, AstNode, NodeOrToken, SyntaxKind::IDENT, SyntaxNode, WalkEvent, T}; |
5 | use test_utils::assert_eq_text; | 5 | use test_utils::assert_eq_text; |
6 | 6 | ||
@@ -9,9 +9,10 @@ use super::*; | |||
9 | mod rule_parsing { | 9 | mod rule_parsing { |
10 | use ra_syntax::{ast, AstNode}; | 10 | use ra_syntax::{ast, AstNode}; |
11 | 11 | ||
12 | use super::*; | ||
13 | use crate::ast_to_token_tree; | 12 | use crate::ast_to_token_tree; |
14 | 13 | ||
14 | use super::*; | ||
15 | |||
15 | #[test] | 16 | #[test] |
16 | fn test_valid_arms() { | 17 | fn test_valid_arms() { |
17 | fn check(macro_body: &str) { | 18 | fn check(macro_body: &str) { |