mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
parent
50579b3371
commit
141f497d17
1 changed files with 14 additions and 0 deletions
14
spec/integrations/kill_word_spec.rb
Normal file
14
spec/integrations/kill_word_spec.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
describe 'multiple words killed with `backward-kill-word`' do
|
||||
before do
|
||||
session.
|
||||
send_string('echo first second').
|
||||
send_keys('C-w').
|
||||
send_keys('C-w')
|
||||
wait_for { session.content }.to eq('echo')
|
||||
end
|
||||
|
||||
it 'can be yanked back with `yank`' do
|
||||
session.send_keys('C-y')
|
||||
wait_for { session.content }.to eq('echo first second')
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue