summaryrefslogtreecommitdiff
path: root/src/testdir/test_comparators.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_comparators.in')
-rw-r--r--src/testdir/test_comparators.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/testdir/test_comparators.in b/src/testdir/test_comparators.in
new file mode 100644
index 000000000..53a12a32e
--- /dev/null
+++ b/src/testdir/test_comparators.in
@@ -0,0 +1,21 @@
+" 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