mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
560a346d57
Problem: When '#' is in 'isident' the is# comparator doesn't work.
Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto)
37a8de17d4
15 lines
342 B
Lua
15 lines
342 B
Lua
-- " Test for expression comparators.
|
|
|
|
local helpers = require('test.functional.helpers')
|
|
local clear, eq = helpers.clear, helpers.eq
|
|
local eval, execute = helpers.eval, helpers.execute
|
|
|
|
describe('comparators', function()
|
|
before_each(clear)
|
|
|
|
it('is working', function()
|
|
execute('set isident+=#')
|
|
eq(1, eval('1 is#1'))
|
|
end)
|
|
end)
|