mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Try to fix the Travis test failures
It seems expect prioritizes the first pattern in the list, instead of the pattern that matches earliest in the buffer. That seems pretty stupid, but let's try moving the prompt pattern to the end and see if that fixes the Travis failures.
This commit is contained in:
parent
1563501868
commit
c4a453fb22
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ proc expect_prompt {args} {
|
|||
} else {
|
||||
log_info "expecting prompt $prompt_counter"
|
||||
}
|
||||
set expargs [concat $prompt_pat [list $prompt_action] $expargs]
|
||||
set expargs [concat $expargs $prompt_pat [list $prompt_action]]
|
||||
expect {*}$expargs
|
||||
incr prompt_counter
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue