view src/testdir/test_comparators.in @ 7895:bff95e0d8885 v7.4.1244

commit https://github.com/vim/vim/commit/f57969a20a4398f56e3028a6cc1102f9f9286ccf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 2 20:47:49 2016 +0100 patch 7.4.1244 Problem: The channel functions don't sort together. Solution: Use a common "ch_" prefix.
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Feb 2016 21:00:07 +0100
parents 5fc5c5bf2233
children
line wrap: on
line source

" Test for expression comparators.   vim: set ft=vim :


STARTTEST
:so small.vim
:try
:  let oldisident=&isident
:  set isident+=#
:  if 1 is#1
:    $put ='ok'
:  else
:    $put ='ng'
:  endif
:finally
:  let &isident=oldisident
:endtry
:"
:/^marker/+1,$wq! test.out
ENDTEST

marker