diff options
Diffstat (limited to 'helix-core/src/selection.rs')
-rw-r--r-- | helix-core/src/selection.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs index d3806cf3..13c820f1 100644 --- a/helix-core/src/selection.rs +++ b/helix-core/src/selection.rs @@ -371,17 +371,17 @@ mod test { assert_eq!( result.ranges(), &[ - Range::new(0, 4), - Range::new(5, 8), - Range::new(10, 12), - Range::new(15, 18), + Range::new(0, 3), + Range::new(5, 7), + Range::new(10, 11), + Range::new(15, 17), Range::new(19, 19), ] ); assert_eq!( result.fragments(&text.slice(..)).collect::<Vec<_>>(), - &["abcd", "efg", "rs", "xyz", ""] + &["abcd", "efg", "rs", "xyz", "1"] ); } } |