neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

comparators_spec.lua (351B)


      1 -- " Test for expression comparators.
      2 
      3 local t = require('test.testutil')
      4 local n = require('test.functional.testnvim')()
      5 
      6 local clear, eq = n.clear, t.eq
      7 local eval, command = n.eval, n.command
      8 
      9 describe('comparators', function()
     10  before_each(clear)
     11 
     12  it('is working', function()
     13    command('set isident+=#')
     14    eq(1, eval('1 is#1'))
     15  end)
     16 end)