neovim/test/functional/legacy/comparators_spec.lua
Jurica Bradaric 560a346d57 vim-patch:7.4.844 #4228
Problem:    When '#' is in 'isident' the is# comparator doesn't work.
Solution:   Don't use vim_isIDc(). (Yasuhiro Matsumoto)

37a8de17d4
2016-02-17 03:59:58 -05:00

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)