mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
9e110406fa
Github #247 and #258
12 lines
339 B
Ruby
12 lines
339 B
Ruby
require 'strategies/special_characters_helper'
|
|
|
|
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
|
|
|
|
include_examples 'special characters'
|
|
end
|