diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-04-15 01:29:27 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-04-26 15:21:15 +0200 |
commit | 7ebafa53f6b97037fa0841c2049269d10a2378d6 (patch) | |
tree | 525d0e8b4e8a7e68ff42bf01903cfc568842ba1c /tests | |
parent | e6ad48ea1b129471d279d45011b3e6de7fd3b62d (diff) |
Tests: Add fish_mode_prompt to except_prompt
Without this, the interactive tests fail when they receive a mode_prompt
in vi-mode.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/interactive.expect.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/interactive.expect.rc b/tests/interactive.expect.rc index 1129c176..b0cc9e89 100644 --- a/tests/interactive.expect.rc +++ b/tests/interactive.expect.rc @@ -51,7 +51,7 @@ set prompt_counter 1 proc expect_prompt {args} { global prompt_counter upvar expect_out expect_out - set prompt_pat [list -re "(?:\\r\\n?|^)prompt $prompt_counter>(?:$|\\r)"] + set prompt_pat [list -re "(?:\\r\\n?|^)(?:\\\[.\\\] )?prompt $prompt_counter>(?:$|\\r)"] if {[llength $args] == 1 && [string match "\n*" $args]} { set args [join $args] } |