mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-02 17:43:45 +08:00
Added file fuzzy match and refactored
This commit is contained in:
1 parent
2653752f9c
commit
f7fae4dde7
8 files changed
+44
-23
No files matched your search
@@ -268,7 +268,7 @@ def test_file_path_completions(Script, file, code, column, expected):
|
||||
else:
|
||||
assert [c.complete for c in comps] == expected
|
||||
|
||||
from jedi.api.completion import start_match, fuzzy_match
|
||||
from jedi.api.helpers import start_match, fuzzy_match
|
||||
|
||||
def test_start_match():
|
||||
assert start_match('Condition', 'C')
|
||||
|
||||
Reference in new issue
Block a user