comparison .zfun/zsh-autosuggestions/spec/multi_line_spec.rb @ 467:e1ce8897030d

zsh: import df6f6f9ff41 of zsh-autosuggestions
author Augie Fackler <raf@durin42.com>
date Mon, 03 Dec 2018 22:37:29 -0500
parents
children
comparison
equal deleted inserted replaced
466:f248cf012d9a 467:e1ce8897030d
1 describe 'a multi-line suggestion' do
2 it 'should be displayed on multiple lines' do
3 with_history(-> {
4 session.send_string('echo "')
5 session.send_keys('enter')
6 session.send_string('"')
7 session.send_keys('enter')
8 }) do
9 session.send_keys('e')
10 wait_for { session.content }.to eq("echo \"\n\"")
11 end
12 end
13 end