Convert tests to text-size

This commit is contained in:
Aleksey Kladov 2020-04-24 23:51:02 +02:00
parent b1d5817dd1
commit 8843588fca
376 changed files with 26489 additions and 26521 deletions

View file

@ -126,7 +126,7 @@ fn test_ranges() {
// The "x"
let highlights = &analysis
.highlight_range(FileRange { file_id, range: TextRange::offset_len(82.into(), 1.into()) })
.highlight_range(FileRange { file_id, range: TextRange::at(82.into(), 1.into()) })
.unwrap();
assert_eq!(&highlights[0].highlight.to_string(), "field.declaration");