mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-01 17:53:38 +08:00
9 lines
250 B
Ruby
9 lines
250 B
Ruby
describe 'the default suggestion strategy' do
|
|
it 'suggests the last matching history entry' do
|
|
with_history('ls foo', 'ls bar', 'echo baz') do
|
|
session.send_string('ls')
|
|
wait_for { session.content }.to eq('ls bar')
|
|
end
|
|
end
|
|
end
|