aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/comparators_spec.lua
blob: 86df5b1c41f716ad8f8f27b45b072db4947ad7b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- " Test for expression comparators.

local t = require('test.testutil')
local n = require('test.functional.testnvim')()

local clear, eq = n.clear, t.eq
local eval, command = n.eval, n.command

describe('comparators', function()
  before_each(clear)

  it('is working', function()
    command('set isident+=#')
    eq(1, eval('1 is#1'))
  end)
end)