diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2016-09-21 21:34:05 -0400 |
---|---|---|
committer | Ryan Roden-Corrent <ryan@rcorre.net> | 2016-09-26 08:30:28 -0400 |
commit | 6fdd007dbb8da0cf95dffcce2c0c16a708e464d9 (patch) | |
tree | 3e6c07da39baefee72419e7f8c0653d815abba4f /tests/end2end/test_insert_mode.py | |
parent | b49aa2d5359dd3004d3a02b68951ebf95dd7c78f (diff) | |
download | qutebrowser-6fdd007dbb8da0cf95dffcce2c0c16a708e464d9.tar.gz qutebrowser-6fdd007dbb8da0cf95dffcce2c0c16a708e464d9.zip |
Simplify mode-checking in command.
Rather than maintaining separate _modes and _not_modes lists, just
build a single _modes list in the constructor.
Diffstat (limited to 'tests/end2end/test_insert_mode.py')
-rw-r--r-- | tests/end2end/test_insert_mode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/test_insert_mode.py b/tests/end2end/test_insert_mode.py index d08f1b161..cd57968ca 100644 --- a/tests/end2end/test_insert_mode.py +++ b/tests/end2end/test_insert_mode.py @@ -93,7 +93,7 @@ def test_auto_leave_insert_mode(quteproc): quteproc.send_cmd(':paste-primary') expected_message = ('paste-primary: This command is only allowed in ' - 'insert mode.') + 'insert mode, not caret.') quteproc.mark_expected(category='message', loglevel=logging.ERROR, message=expected_message) |