diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-04-02 19:55:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-04-02 19:55:10 +0200 |
commit | b7cb42bc3878fcb62ed407f47f0a2cc960aa7c1e (patch) | |
tree | 5106cbff25dbcf19891a33f658aac198f1e85137 /src/testdir | |
parent | 41571769c9a236fd07b333a5eb98c461636b466c (diff) | |
download | vim-git-b7cb42bc3878fcb62ed407f47f0a2cc960aa7c1e.tar.gz |
updated for version 7.4.242v7.4.242
Problem: getreg() does not distinguish between a NL used for a line break
and a NL used for a NUL character.
Solution: Add another argument to return a list. (ZyX)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/Make_amiga.mak | 2 | ||||
-rw-r--r-- | src/testdir/Make_dos.mak | 1 | ||||
-rw-r--r-- | src/testdir/Make_ming.mak | 1 | ||||
-rw-r--r-- | src/testdir/Make_os2.mak | 1 | ||||
-rw-r--r-- | src/testdir/Make_vms.mms | 1 | ||||
-rw-r--r-- | src/testdir/test_eval.in | 21 | ||||
-rw-r--r-- | src/testdir/test_eval.ok | 7 |
7 files changed, 34 insertions, 0 deletions
diff --git a/src/testdir/Make_amiga.mak b/src/testdir/Make_amiga.mak index 7310ab57d..3492945eb 100644 --- a/src/testdir/Make_amiga.mak +++ b/src/testdir/Make_amiga.mak @@ -36,6 +36,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \ test94.out test95.out test96.out test97.out test98.out \ test99.out test100.out test101.out test102.out test103.out \ test104.out test105.out test106.out \ + test_eval.out \ test_options.out .SUFFIXES: .in .out @@ -159,4 +160,5 @@ test103.out: test103.in test104.out: test104.in test105.out: test105.in test106.out: test106.in +test_eval.out: test_eval.in test_options.out: test_options.in diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak index 8f749b0df..a85980ea0 100644 --- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -35,6 +35,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \ test94.out test95.out test96.out test98.out test99.out \ test100.out test101.out test102.out test103.out test104.out \ test105.out test106.out \ + test_eval.out \ test_options.out SCRIPTS32 = test50.out test70.out diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index 855885999..0bb22cb7b 100644 --- a/src/testdir/Make_ming.mak +++ b/src/testdir/Make_ming.mak @@ -55,6 +55,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \ test94.out test95.out test96.out test98.out test99.out \ test100.out test101.out test102.out test103.out test104.out \ test105.out test106.out \ + test_eval.out \ test_options.out SCRIPTS32 = test50.out test70.out diff --git a/src/testdir/Make_os2.mak b/src/testdir/Make_os2.mak index a6ba86a9a..a84ade6ff 100644 --- a/src/testdir/Make_os2.mak +++ b/src/testdir/Make_os2.mak @@ -37,6 +37,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \ test94.out test95.out test96.out test98.out test99.out \ test100.out test101.out test102.out test103.out test104.out \ test105.out test106.out \ + test_eval.out \ test_options.out .SUFFIXES: .in .out diff --git a/src/testdir/Make_vms.mms b/src/testdir/Make_vms.mms index e7cbf0927..89c4a84cc 100644 --- a/src/testdir/Make_vms.mms +++ b/src/testdir/Make_vms.mms @@ -96,6 +96,7 @@ SCRIPT = test1.out test2.out test3.out test4.out test5.out \ test95.out test96.out test98.out test99.out \ test100.out test101.out test103.out test104.out \ test105.out test106.out \ + test_eval.out \ test_options.out # Known problems: diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in new file mode 100644 index 000000000..115d50dd9 --- /dev/null +++ b/src/testdir/test_eval.in @@ -0,0 +1,21 @@ +Test for various eval features. + +STARTTEST +:so small.vim +:" +:" test getreg() +/^one +"ay3j:$put =string(getreg('a')) +:$put =string(getreg('a', 1, 1)) +:" +:/^result/,$w! test.out +:qa! +ENDTEST + +one +two +three +four +five + +result diff --git a/src/testdir/test_eval.ok b/src/testdir/test_eval.ok new file mode 100644 index 000000000..8e6c987bd --- /dev/null +++ b/src/testdir/test_eval.ok @@ -0,0 +1,7 @@ +result +'one +two +three +four +' +['one', 'two', 'three', 'four'] |