diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-02 16:50:20 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-02 16:50:20 +0100 |
commit | 673e1ddb9ae12c565f966549ba7ea8c306cfba87 (patch) | |
tree | a1d9c304711806c393163547fe6da69289aa9f16 /crates/ide/src/call_info.rs | |
parent | a360832c95dbfe10167ebebe4978760e9be6a4bd (diff) | |
parent | b06259673f9b535a63c0cabf4eeb935ff73d86d0 (diff) |
Merge #6123
6123: Reduce duplication in fixtures r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src/call_info.rs')
-rw-r--r-- | crates/ide/src/call_info.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/call_info.rs b/crates/ide/src/call_info.rs index 7e99c6b72..d7b2b926e 100644 --- a/crates/ide/src/call_info.rs +++ b/crates/ide/src/call_info.rs | |||
@@ -232,10 +232,10 @@ mod tests { | |||
232 | use expect_test::{expect, Expect}; | 232 | use expect_test::{expect, Expect}; |
233 | use test_utils::mark; | 233 | use test_utils::mark; |
234 | 234 | ||
235 | use crate::mock_analysis::analysis_and_position; | 235 | use crate::fixture; |
236 | 236 | ||
237 | fn check(ra_fixture: &str, expect: Expect) { | 237 | fn check(ra_fixture: &str, expect: Expect) { |
238 | let (analysis, position) = analysis_and_position(ra_fixture); | 238 | let (analysis, position) = fixture::position(ra_fixture); |
239 | let call_info = analysis.call_info(position).unwrap(); | 239 | let call_info = analysis.call_info(position).unwrap(); |
240 | let actual = match call_info { | 240 | let actual = match call_info { |
241 | Some(call_info) => { | 241 | Some(call_info) => { |