diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-01-30 17:03:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-01-30 17:03:30 +0100 |
commit | 8ceb1735a2e845c7987f01a6319775b39c4b0177 (patch) | |
tree | ce1300939d4df8500624c7123b59d9fa58a8f311 /src/testdir | |
parent | 4bc8cf0e7c4c1d2c9d99ac8b3c080b50f239406d (diff) | |
download | vim-8ceb1735a2e845c7987f01a6319775b39c4b0177.zip |
updated for version 7.3.793
Problem: New interactive :substutite behavior is not tested.
Solution: Add tests. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test80.in | 15 | ||||
-rw-r--r-- | src/testdir/test80.ok | 6 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/testdir/test80.in b/src/testdir/test80.in index b49650040..2decb4dbc 100644 --- a/src/testdir/test80.in +++ b/src/testdir/test80.in @@ -144,6 +144,21 @@ ENDTEST TEST_8: STARTTEST +:set magic& +:set cpo& +:$put =\"\n\nTEST_8:\" +:$put =',,X' +:s/\(^\|,\)\ze\(,\|X\)/\1N/g +:$put =',,Y' +:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc +a:$put =',,Z' +:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc +yy/^TEST_9 +ENDTEST + +TEST_9: + +STARTTEST :/^Results/,$wq! test.out ENDTEST diff --git a/src/testdir/test80.ok b/src/testdir/test80.ok index fd5b5e778..775d98531 100644 --- a/src/testdir/test80.ok +++ b/src/testdir/test80.ok @@ -99,3 +99,9 @@ TEST_7: A
A B B + + +TEST_8: +N,,NX +N,,NY +N,,NZ |