blob: fa67b85b08f93e7157cd8ddf7c6d35436f32fd2b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
-- Test for buffer name completion when 'wildoptions' contains "fuzzy"
-- (Confirm that Vim does not crash)
local n = require('test.functional.testnvim')()
local t = require('test.testutil')
local describe, it, before_each = t.describe, t.it, t.before_each
local clear = n.clear
local insert = n.insert
local expect = n.expect
local feed_command = n.feed_command
local command = n.command
describe('set wildoptions=fuzzy', function()
before_each(clear)
it('works', function()
insert([[I'm alive!]])
command('set wildoptions=fuzzy')
command('new buf_a')
feed_command('b buf_a')
command('q!')
expect([[I'm alive!]])
end)
end)
|