mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-02 10:01:17 +01:00
e715ffb1ae
Write mock history to a temp file and load it directly with `fc -R` instead of running each command individually to build up the history.
8 lines
224 B
Ruby
8 lines
224 B
Ruby
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
|