diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-18 16:29:12 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-18 16:29:12 +0000 |
commit | 8be3f25b0bf77b547ba83c3eb9689a40d212a55b (patch) | |
tree | c29c3a31ea9e046d2767dfc189e0ab77b8ffdafe /crates/ide/src/parent_module.rs | |
parent | 03c177af89efcc238053b59069eda2c1c6772622 (diff) | |
parent | 55ba353b39db1e9d850f1df943ab6a16e7c15838 (diff) |
Merge #6930
6930: Don't expose SyntaxKind from IDE API r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src/parent_module.rs')
-rw-r--r-- | crates/ide/src/parent_module.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide/src/parent_module.rs b/crates/ide/src/parent_module.rs index 6cc3b2991..be344a09b 100644 --- a/crates/ide/src/parent_module.rs +++ b/crates/ide/src/parent_module.rs | |||
@@ -78,7 +78,7 @@ mod tests { | |||
78 | ", | 78 | ", |
79 | ); | 79 | ); |
80 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); | 80 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); |
81 | nav.assert_match("foo MODULE FileId(0) 0..8"); | 81 | nav.assert_match("foo Module FileId(0) 0..8"); |
82 | } | 82 | } |
83 | 83 | ||
84 | #[test] | 84 | #[test] |
@@ -97,7 +97,7 @@ mod tests { | |||
97 | ", | 97 | ", |
98 | ); | 98 | ); |
99 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); | 99 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); |
100 | nav.assert_match("foo MODULE FileId(0) 0..8"); | 100 | nav.assert_match("foo Module FileId(0) 0..8"); |
101 | } | 101 | } |
102 | 102 | ||
103 | #[test] | 103 | #[test] |
@@ -113,7 +113,7 @@ mod tests { | |||
113 | ", | 113 | ", |
114 | ); | 114 | ); |
115 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); | 115 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); |
116 | nav.assert_match("baz MODULE FileId(0) 32..44"); | 116 | nav.assert_match("baz Module FileId(0) 32..44"); |
117 | } | 117 | } |
118 | 118 | ||
119 | #[test] | 119 | #[test] |