summaryrefslogtreecommitdiffstats
path: root/src/testdir/test1.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-05 16:56:52 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-05 16:56:52 +0200
commit98411e57ab4f876e11d7df48889be348caa912b4 (patch)
tree39d6293cec16f7b672e7c3824256c63ab8b5a3b6 /src/testdir/test1.in
parent1dced5727f8f4f51fd623d9f6e672e70e1793d13 (diff)
updated for version 7.3.491v7.3.491
Problem: No tests for Lua. Solution: Add some simple tests for Lua. (Luis Carvalho)
Diffstat (limited to 'src/testdir/test1.in')
-rw-r--r--src/testdir/test1.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test1.in b/src/testdir/test1.in
index a3b58418a4..c175fa590e 100644
--- a/src/testdir/test1.in
+++ b/src/testdir/test1.in
@@ -15,6 +15,7 @@ If Vim was not compiled with the +multi_byte feature, the mbyte.vim script will
be set like small.vim above. mbyte.vim is sourced by tests that require the
+multi_byte feature.
Similar logic is applied to the +mzscheme feature, using mzscheme.vim.
+Similar logic is applied to the +lua feature, using lua.vim.
STARTTEST
:" Write a single line to test.out to check if testing works at all.
@@ -28,10 +29,17 @@ w! test.out
qa!
:w! mbyte.vim
:w! mzscheme.vim
+:w! lua.vim
+:"
:" If +multi_byte feature supported, make mbyte.vim empty.
:if has("multi_byte") | sp another | w! mbyte.vim | q | endif
+:"
:" If +mzscheme feature supported, make mzscheme.vim empty.
:if has("mzscheme") | sp another | w! mzscheme.vim | q | endif
+:"
+:" If +lua feature supported, make lua.vim empty.
+:if has("lua") | sp another | w! lua.vim | q | endif
+:"
:" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
:" Otherwise write small.vim to skip the test.
:if 1 | q! | endif