Mercurial > vim
view src/testdir/test_comparators.in @ 7210:08b50e436093 v7.4.914
commit https://github.com/vim/vim/commit/98b30a473a58ae98c280e0383c8b1e08c0ebced5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 10 15:18:02 2015 +0100
patch 7.4.914
Problem: New compiler warning: logical-not-parentheses
Solution: Silence the warning.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Nov 2015 15:30:05 +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