summaryrefslogtreecommitdiff
path: root/home-config/zsh/zsh-autosuggestions/spec/multi_line_spec.rb
blob: 364780a27658a104141c6929f0577644b1d2dc76 (plain)
1
2
3
4
5
6
7
8
describe 'a multi-line suggestion' do
  it 'should be displayed on multiple lines' do
    with_history("echo \"\n\"") do
      session.send_keys('e')
      wait_for { session.content }.to eq("echo \"\n\"")
    end
  end
end