view src/testdir/test_comparators.vim @ 15599:9da8ae285a02 v8.1.0807

patch 8.1.0807: session test fails on MS-Windows commit https://github.com/vim/vim/commit/9e79ccbe9ce6fce18939c7ac2e5ad059a3bd1951 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 15:57:30 2019 +0100 patch 8.1.0807: session test fails on MS-Windows Problem: Session test fails on MS-Windows. Solution: Don't try creating file with illegal name.
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 16:00:08 +0100
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