view src/testdir/test_comparators.vim @ 16936:73e6ed2f69a2 v8.1.1469

patch 8.1.1469: no test for checking the cursor style response commit https://github.com/vim/vim/commit/66761db11d321d60d4692947e90de9030301f6ee Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 5 22:07:51 2019 +0200 patch 8.1.1469: no test for checking the cursor style response Problem: No test for checking the cursor style response. Solution: Add a simple test. Also include the missing part of 8.1.1464.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Jun 2019 22:15:05 +0200
parents 140d51d5b5c3
children 08940efa6b4e
line wrap: on
line source

function Test_Comparators()
  try
    let oldisident=&isident
    set isident+=#
    call assert_equal(1, 1 is#1)
  finally
    let &isident=oldisident
  endtry
endfunction