1
0
forked from VimPlug/jedi

Get a few more tests passing about dict key strings

This commit is contained in:
Dave Halter
2019-09-23 21:04:52 +02:00
parent 954fd56fcc
commit 88ebb3e140
3 changed files with 42 additions and 26 deletions

View File

@@ -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"']),