qutebrowser/tests/unit/completion
Ryan Roden-Corrent d5e30fd728 Don't crash first completion update with min_chars.
When min_chars is nonzero, if the first command that opens the
completion has < min_chars on the word under the cursor, it triggers a
check for a condition where last_cursor_pos is None.

By setting last_cursor_pos=-1 we ensure that the completer always
updates the first time it is opened, and that there is never a check
against None.

This adds a test for the min_chars feature.

Resolves #3635.
2018-03-01 22:07:53 -05:00
..
test_completer.py Don't crash first completion update with min_chars. 2018-03-01 22:07:53 -05:00
test_completionmodel.py Update copyright years 2018-02-05 12:19:50 +01:00
test_completionwidget.py Update copyright years 2018-02-05 12:19:50 +01:00
test_histcategory.py Update copyright years 2018-02-05 12:19:50 +01:00
test_listcategory.py Update copyright years 2018-02-05 12:19:50 +01:00
test_models.py Add missing tests for completions 2018-02-27 15:55:00 +01:00