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

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

local describe, it, before_each = t.describe, t.it, t.before_each
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)