qutebrowser/tests/unit/commands
Ryan Roden-Corrent fbc084e416 Remove :<count>:cmd syntax support.
CommandRunner.parse had some logic for handling commands of form
:<count>:cmd. However, this complicated the parsing logic for something
that appears to only be used in tests. One could use it in a
userscript, but this is unlikely as it is undocumented. Removing
support for this simplifies the logic of parse.

The commnd `run-with-count` is added to provide this functionality.
It works like `repeat` but passes the count along to the command
instead of running the command multiple times.

This resolves #1997: Qutebrowser crashes when pasting commands.
This bug was caused by excess stripping of ':' from the command string
by _parse_count.
2016-10-10 08:02:30 -04:00
..
test_argparser.py tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
test_cmdutils.py Whitespace changes 2016-09-30 17:54:23 +02:00
test_runners.py Remove :<count>:cmd syntax support. 2016-10-10 08:02:30 -04:00
test_userscripts.py Fix unit tests 2016-09-15 14:51:22 +02:00