Mercurial > dotfiles
comparison .zfun/zsh-autosuggestions/spec/strategies/default_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 require 'strategies/special_characters_helper' | |
| 2 | |
| 3 describe 'the default suggestion strategy' do | |
| 4 it 'suggests the last matching history entry' do | |
| 5 with_history('ls foo', 'ls bar', 'echo baz') do | |
| 6 session.send_string('ls') | |
| 7 wait_for { session.content }.to eq('ls bar') | |
| 8 end | |
| 9 end | |
| 10 | |
| 11 include_examples 'special characters' | |
| 12 end |
