Add failing spec for killing and yanking multiple words

GitHub #363
This commit is contained in:
Eric Freese 2018-12-21 23:41:26 -07:00
parent 50579b3371
commit 141f497d17

View 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