comparators_spec.lua 354 B

123456789101112131415
  1. -- " Test for expression comparators.
  2. local helpers = require('test.functional.helpers')(after_each)
  3. local clear, eq = helpers.clear, helpers.eq
  4. local eval, command = helpers.eval, helpers.command
  5. describe('comparators', function()
  6. before_each(clear)
  7. it('is working', function()
  8. command('set isident+=#')
  9. eq(1, eval('1 is#1'))
  10. end)
  11. end)