aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_ins_complete.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/test_ins_complete.vim')
-rw-r--r--test/old/testdir/test_ins_complete.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/old/testdir/test_ins_complete.vim b/test/old/testdir/test_ins_complete.vim
index 381a69dd41..0b1a1bed47 100644
--- a/test/old/testdir/test_ins_complete.vim
+++ b/test/old/testdir/test_ins_complete.vim
@@ -2986,6 +2986,16 @@ func Test_complete_fuzzy_match_tie()
set completeopt&
endfunc
+func Test_complete_backwards_default()
+ new
+ call append(1, ['foobar', 'foobaz'])
+ new
+ call feedkeys("i\<c-p>", 'tx')
+ call assert_equal('foobaz', getline('.'))
+ bw!
+ bw!
+endfunc
+
func Test_complete_info_matches()
let g:what = ['matches']
func ShownInfo()