mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Add test for special characters with match_prev_cmd strategy
Github #247 and #258
This commit is contained in:
parent
1915e28882
commit
9e110406fa
4 changed files with 70 additions and 60 deletions
|
|
@ -1,3 +1,5 @@
|
|||
require 'strategies/special_characters_helper'
|
||||
|
||||
describe 'the match_prev_cmd strategy' do
|
||||
let(:options) { ['ZSH_AUTOSUGGEST_STRATEGY=match_prev_cmd'] }
|
||||
|
||||
|
|
@ -14,4 +16,6 @@ describe 'the match_prev_cmd strategy' do
|
|||
wait_for { session.content }.to eq('ls bar')
|
||||
end
|
||||
end
|
||||
|
||||
include_examples 'special characters'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue