mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Get a few more tests passing about dict key strings
This commit is contained in:
@@ -283,12 +283,12 @@ def test_file_path_completions(Script, file, code, column, expected):
|
||||
('ints[50', 6, ['']),#TODO ['0']),
|
||||
('ints[50', 7, ['']),
|
||||
|
||||
('strs[', 5, ["'asdf'", "'foo'", "'fbar'", Ellipsis]),
|
||||
('strs[]', 5, ["'asdf'", "'foo'", "'fbar'", Ellipsis]),
|
||||
("strs[']", 6, ["asdf'", "foo'", "fbar'"]),
|
||||
('strs["]', 6, ['asdf"', 'foo"', 'fbar"']),
|
||||
('strs["""]', 6, ['asdf', 'foo', 'fbar']),
|
||||
('strs["""]', 8, ['asdf"""', 'foo"""', 'fbar"""']),
|
||||
('strs[', 5, ["'asdf'", "'fbar'", "'foo'", Ellipsis]),
|
||||
('strs[]', 5, ["'asdf'", "'fbar'", "'foo'", Ellipsis]),
|
||||
("strs[']", 6, ["asdf'", "fbar'", "foo'"]),
|
||||
('strs["]', 6, ['asdf"', 'fbar"', 'foo"']),
|
||||
('strs["""]', 6, ['asdf', 'bar', 'foo']),
|
||||
('strs["""]', 8, ['asdf"""', 'fbar"""', 'foo"""']),
|
||||
('strs[b"]', 8, []),
|
||||
('strs[r"asd', 11, ['f"']),
|
||||
('strs[R"asd', 11, ['f"']),
|
||||
|
||||
Reference in New Issue
Block a user