Mercurial > vim
annotate src/testdir/test100.in @ 7279:b5e9810b389d v7.4.945
commit https://github.com/vim/vim/commit/683fa185a4b4ed7595e5942901548b8239ed5cdb
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 30 21:38:24 2015 +0100
patch 7.4.945
Problem: New style testing is incomplete.
Solution: Add the runtest script to the list of distributed files.
Add the new functions to the function overview.
Rename the functions to match Vim function style.
Move undolevels testing into a new style test script.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 30 Nov 2015 21:45:04 +0100 |
parents | 9d5b8b015e5f |
children |
rev | line source |
---|---|
7279
b5e9810b389d
commit https://github.com/vim/vim/commit/683fa185a4b4ed7595e5942901548b8239ed5cdb
Christian Brabandt <cb@256bit.org>
parents:
6272
diff
changeset
|
1 Tests for 'lispwords' settings being global-local |
5450 | 2 |
3 STARTTEST | |
4 :so small.vim | |
7279
b5e9810b389d
commit https://github.com/vim/vim/commit/683fa185a4b4ed7595e5942901548b8239ed5cdb
Christian Brabandt <cb@256bit.org>
parents:
6272
diff
changeset
|
5 :set nocompatible viminfo+=nviminfo |
5712 | 6 :" |
7 :" Testing 'lispwords' | |
8 :" | |
9 :setglobal lispwords=foo,bar,baz | |
10 :setlocal lispwords-=foo | setlocal lispwords+=quux | |
11 :redir >> test.out | echon "\nTesting 'lispwords' local value" | setglobal lispwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end | |
12 :setlocal lispwords< | |
13 :redir >> test.out | echon "\nTesting 'lispwords' value reset" | setglobal lispwords? | setlocal lispwords? | echo &lispwords . "\n" | redir end | |
5450 | 14 :qa! |
15 ENDTEST | |
16 |