summaryrefslogtreecommitdiff
path: root/src/testdir/test_comparators.vim
blob: 87be006cf2ff0ea2a2f4b090be54b1757fef5a62 (plain)
1
2
3
4
5
6
7
8
9
function Test_Comparators()
  try
    let oldisident=&isident
    set isident+=#
    call assert_equal(1, 1 is#1)
  finally
    let &isident=oldisident
  endtry
endfunction