mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Enable zle -U test in newer zsh versions
This commit is contained in:
parent
50579b3371
commit
de4256a63b
1 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,9 @@ describe 'using `zle -U`' do
|
||||||
|
|
||||||
let(:options) { ['unset ZSH_AUTOSUGGEST_USE_ASYNC', 'ZSH_AUTOSUGGEST_STRATEGY=test'] }
|
let(:options) { ['unset ZSH_AUTOSUGGEST_USE_ASYNC', 'ZSH_AUTOSUGGEST_STRATEGY=test'] }
|
||||||
|
|
||||||
# TODO: This is only possible with the $KEYS_QUEUED_COUNT widget parameter, coming soon...
|
it 'does not fetch a suggestion for every inserted character' do
|
||||||
xit 'does not fetch a suggestion for every inserted character' do
|
skip 'KEYS_QUEUED_COUNT not supported below v5.4.0' if session.zsh_version < Gem::Version.new('5.4.0')
|
||||||
|
|
||||||
session.send_keys('C-b')
|
session.send_keys('C-b')
|
||||||
wait_for { session.content }.to eq('echo hello')
|
wait_for { session.content }.to eq('echo hello')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue