Add spec for completion strategy

This commit is contained in:
Eric Freese
2018-05-23 22:04:47 -06:00
parent 7d19f8f9b2
commit 973205005c
4 changed files with 39 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
require 'strategies/special_characters_helper'
describe 'the match_prev_cmd strategy' do
describe 'the `match_prev_cmd` strategy' do
let(:options) { ['ZSH_AUTOSUGGEST_STRATEGY=match_prev_cmd'] }
it 'suggests the last matching history entry after the previous command' do