mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-14 21:28:58 +08:00
Add testing for mismatch cases
This should help catch any errors in our handling of invalid cases. While some of these produce outputs which aren't correct, what we're checking here is that we don't _error_ while producing that output. Also fix a case which this showed up.
This commit is contained in:
1 parent
95b0cdcb5e
commit
5ca69458d4
3 files changed
+326
No files matched your search
@@ -342,6 +342,7 @@ def test_file_fuzzy_completion(Script):
|
||||
script = Script('"{}/ep08_i'.format(path))
|
||||
expected = [
|
||||
'pep0484_basic.py"',
|
||||
'pep0484_generic_mismatches.py"',
|
||||
'pep0484_generic_parameters.py"',
|
||||
'pep0484_generic_passthroughs.py"',
|
||||
'pep0484_typing.py"',
|
||||
|
||||
Reference in new issue
Block a user