view src/testdir/test_comparators.in @ 9663:27d3250c6dd4 v7.4.2108

commit https://github.com/vim/vim/commit/adfc5c2f9cf8032e496fcd4793d829768bd6d0a7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 27 22:56:48 2016 +0200 patch 7.4.2108 Problem: Netbeans test is flaky. Solution: Wait for the cursor to be positioned.
author Christian Brabandt <cb@256bit.org>
date Wed, 27 Jul 2016 23:00:07 +0200
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