fix tests

This commit is contained in:
gfreezy
2019-01-20 17:28:10 +08:00
parent ecc5a2e3df
commit fd8db14c2f
8 changed files with 19 additions and 19 deletions

View File

@@ -72,7 +72,7 @@ impl<'a> CompletionContext<'a> {
match self.leaf.kind() {
// workaroud when completion is triggered by trigger characters.
DOT | COLONCOLON => TextRange::from_to(self.offset, self.offset),
_ => self.leaf.range()
_ => self.leaf.range(),
}
}