diff options
author | Aleksey Kladov <[email protected]> | 2019-05-28 16:46:11 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-05-28 16:46:11 +0100 |
commit | 61e1474ab35deb7d54cc2f5d710b901f200b6467 (patch) | |
tree | 158afa2f165a70fdcb5870c940cc9653854e59fa /crates/ra_ide_api/src/matching_brace.rs | |
parent | c8bcfe6a05d82e151d459bcd2bd8a7b2742f7a66 (diff) |
fix typos in mbe tests
Diffstat (limited to 'crates/ra_ide_api/src/matching_brace.rs')
-rw-r--r-- | crates/ra_ide_api/src/matching_brace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/matching_brace.rs b/crates/ra_ide_api/src/matching_brace.rs index eaa4b620c..7f3e65b46 100644 --- a/crates/ra_ide_api/src/matching_brace.rs +++ b/crates/ra_ide_api/src/matching_brace.rs | |||
@@ -31,7 +31,7 @@ mod tests { | |||
31 | fn test_matching_brace() { | 31 | fn test_matching_brace() { |
32 | fn do_check(before: &str, after: &str) { | 32 | fn do_check(before: &str, after: &str) { |
33 | let (pos, before) = extract_offset(before); | 33 | let (pos, before) = extract_offset(before); |
34 | let file = SourceFile::parse(&before); | 34 | let file = SourceFile::parse(&before).tree; |
35 | let new_pos = match matching_brace(&file, pos) { | 35 | let new_pos = match matching_brace(&file, pos) { |
36 | None => pos, | 36 | None => pos, |
37 | Some(pos) => pos, | 37 | Some(pos) => pos, |