diff options
author | Aleksey Kladov <[email protected]> | 2020-04-24 22:51:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-25 10:59:18 +0100 |
commit | 8843588fca7a6022b86800d5d2539594c0de93cf (patch) | |
tree | 3c5162068377dbd53dbf40b602baeeed7aa82285 /crates/ra_ide/src/parent_module.rs | |
parent | b1d5817dd18b7b5fc102a63b084b1ee7ff4f9996 (diff) |
Convert tests to text-size
Diffstat (limited to 'crates/ra_ide/src/parent_module.rs')
-rw-r--r-- | crates/ra_ide/src/parent_module.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide/src/parent_module.rs b/crates/ra_ide/src/parent_module.rs index 958b92bed..aaf4460df 100644 --- a/crates/ra_ide/src/parent_module.rs +++ b/crates/ra_ide/src/parent_module.rs | |||
@@ -76,7 +76,7 @@ mod tests { | |||
76 | ", | 76 | ", |
77 | ); | 77 | ); |
78 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); | 78 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); |
79 | nav.assert_match("foo MODULE FileId(1) [0; 8)"); | 79 | nav.assert_match("foo MODULE FileId(1) 0..8"); |
80 | } | 80 | } |
81 | 81 | ||
82 | #[test] | 82 | #[test] |
@@ -95,7 +95,7 @@ mod tests { | |||
95 | ", | 95 | ", |
96 | ); | 96 | ); |
97 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); | 97 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); |
98 | nav.assert_match("foo MODULE FileId(1) [0; 8)"); | 98 | nav.assert_match("foo MODULE FileId(1) 0..8"); |
99 | } | 99 | } |
100 | 100 | ||
101 | #[test] | 101 | #[test] |
@@ -111,7 +111,7 @@ mod tests { | |||
111 | ", | 111 | ", |
112 | ); | 112 | ); |
113 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); | 113 | let nav = analysis.parent_module(pos).unwrap().pop().unwrap(); |
114 | nav.assert_match("baz MODULE FileId(1) [32; 44)"); | 114 | nav.assert_match("baz MODULE FileId(1) 32..44"); |
115 | } | 115 | } |
116 | 116 | ||
117 | #[test] | 117 | #[test] |