##// END OF EJS Templates
update prefilter tests
vivainio -
Show More
@@ -157,14 +157,10 b' esc_handler_tests = ['
157
157
158 # Trailing qmark combos. Odd special cases abound
158 # Trailing qmark combos. Odd special cases abound
159
159
160 # The key is: we don't want the trailing ? to trigger help if it's a
160 # ! always takes priority!
161 # part of a shell glob (like, e.g. '!ls file.?'). Instead, we want the
161 ( '!thing?', handle_shell_escape),
162 # shell handler to be called. Due to subtleties of the input string
163 # parsing, however, we only call the shell handler if the trailing ? is
164 # part of something whitespace-separated from the !cmd. See examples.
165 ( '!thing?', handle_help),
166 ( '!thing arg?', handle_shell_escape),
162 ( '!thing arg?', handle_shell_escape),
167 ( '!!thing?', handle_help),
163 ( '!!thing?', handle_shell_escape),
168 ( '!!thing arg?', handle_shell_escape),
164 ( '!!thing arg?', handle_shell_escape),
169
165
170 # For all other leading esc chars, we always trigger help
166 # For all other leading esc chars, we always trigger help
General Comments 0
You need to be logged in to leave comments. Login now