mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-02-13 10:05:30 +08:00
Now the test should be working
This commit is contained in:
parent
1535f1f3e5
commit
9619e2e779
@ -11,8 +11,8 @@ describe 'a vicmd mode partial-accept widget' do
|
|||||||
it 'moves the cursor through suggestion as expected' do
|
it 'moves the cursor through suggestion as expected' do
|
||||||
session.run_command("bindkey s vi-cmd-mode")
|
session.run_command("bindkey s vi-cmd-mode")
|
||||||
with_history('foobar foo') do
|
with_history('foobar foo') do
|
||||||
session.send_string('fo').send_keys('s').send_keys('e')
|
session.send_string('fo').send_keys('s').send_keys('e').send_keys('a').send_string('plop')
|
||||||
wait_for { session.content }.to eq('foobar')
|
wait_for { session.content }.to eq('foobarplop')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user