mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 06:31:13 -03:00
Partially fix the tmux-complete test
The autosuggestion was creeping in, causing us to sometimes show file-1 and sometimes just file-. Allow the race through a regular expression.
This commit is contained in:
@@ -28,7 +28,8 @@ echo >file-2
|
||||
$tmux send-keys 'HOME=$PWD ls ~/' Tab
|
||||
$sleep
|
||||
$tmux capture-pane -p
|
||||
# CHECK: prompt 0> HOME=$PWD ls ~/file-
|
||||
# Note the contents may or may not have the autosuggestion appended - it is a race.
|
||||
# CHECK: prompt 0> HOME=$PWD ls ~/file-{{1?}}
|
||||
# CHECK: ~/file-1 ~/file-2
|
||||
|
||||
# No pager on single smartcase completion (#7738).
|
||||
|
||||
Reference in New Issue
Block a user