Add test for special characters with match_prev_cmd strategy

Github #247 and #258
This commit is contained in:
Eric Freese
2017-08-18 11:10:05 -06:00
parent 1915e28882
commit 9e110406fa
4 changed files with 70 additions and 60 deletions

View File

@@ -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