view src/testdir/test_comparators.vim @ 18092:995925603ea0 v8.1.2041

patch 8.1.2041: no test for diff mode with syntax highlighting Commit: https://github.com/vim/vim/commit/248fdb33320641804afed4bdf5dc5cddb1cf64f5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 15 19:31:28 2019 +0200 patch 8.1.2041: no test for diff mode with syntax highlighting Problem: No test for diff mode with syntax highlighting. Solution: Add a test case.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Sep 2019 19:45:03 +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