Mercurial > vim
diff src/testdir/test1.in @ 3452:e070b34fe35e v7.3.491
updated for version 7.3.491
Problem: No tests for Lua.
Solution: Add some simple tests for Lua. (Luis Carvalho)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Apr 2012 16:56:52 +0200 |
parents | 5edcd4ef88df |
children | 91f6a28e010d |
line wrap: on
line diff
--- a/src/testdir/test1.in +++ b/src/testdir/test1.in @@ -15,6 +15,7 @@ If Vim was not compiled with the +multi_ 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