diff --git a/tests/unit/completion/test_completer.py b/tests/unit/completion/test_completer.py index 3a8bf7b3f..bfb1f0718 100644 --- a/tests/unit/completion/test_completer.py +++ b/tests/unit/completion/test_completer.py @@ -195,6 +195,9 @@ def test_completion_item_next(completer_obj, cmd, completion_widget_stub, (':foo |', 'bar', True, 2, ':foo bar|'), (':foo |', 'bar', True, 1, ':foo bar |'), (':foo | bar', 'baz', False, 1, ':foo baz| bar'), + (':foo |', 'bar baz', True, 1, ":foo 'bar baz' |"), + (':foo |', '', True, 1, ":foo '' |"), + (':foo |', None, True, 1, ":foo |"), ]) def test_selection_changed(before, newtxt, count, quick_complete, after, completer_obj, cmd, completion_widget_stub,