view src/testdir/test48.in @ 11973:aec3df2af27c v8.0.0867

patch 8.0.0867: job and channel in a dict value not quoted commit https://github.com/vim/vim/commit/35422f45ba01806d357994f18cb9af64980c67e6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 5 16:33:56 2017 +0200 patch 8.0.0867: job and channel in a dict value not quoted Problem: When using a job or channel value as a dict value, when turning it into a string the quotes are missing. Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto, closes #1930)
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Aug 2017 16:45:04 +0200
parents 9dc52b404c1b
children
line wrap: on
line source

This is a test of 'virtualedit'.

STARTTEST
:so small.vim
:set noswf
:set ve=all
-dgg
:"
:"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
:"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
2/w
C
:"
:"   Using "C" then then <CR> moves the last remaining character to the next
:"    line.  (Mary Ellen Foster)
j^/are
C
are belong to vim
:"
:"   When past the end of a line that ends in a single character "b" skips
:"    that word.
^$15lbC7
:"
:"   Make sure 'i' works
$4li<-- should be 3 ' '
:"
:"   Make sure 'C' works
$4lC<-- should be 3 ' '
:"
:"   Make sure 'a' works
$4la<-- should be 4 ' '
:"
:"   Make sure 'A' works
$4lA<-- should be 0 ' '
:"
:"   Make sure 'D' works
$4lDi<-- 'D' should be intact
:"
:"   Test for yank bug reported by Mark Waggoner.
:set ve=block
^2w3jyGp
:"
:" Test "r" beyond the end of the line
:set ve=all
/^"r"
$5lrxa<-- should be 'x'
:"
:" Test "r" on a tab
:" Note that for this test, 'ts' must be 8 (the default).
^5lrxA<-- should be '  x  '
:"
:"   Test to make sure 'x' can delete control characters
:set display=uhex
^xxxxxxi[This line should contain only the text between the brackets.]
:set display=
:"
:"   Test for ^Y/^E due to bad w_virtcol value, reported by
:"   Roy <royl@netropolis.net>.
^O3li4li4li   <-- should show the name of a noted text editor
^o4li4li4li   <-- and its version number-dd
:"
:" Test for yanking and pasting using the small delete register
gg/^foo
dewve"-p
:wq! test.out
ENDTEST
foo, bar
keyword keyw
all your base are belong to us
1 2 3 4 5 6
'i'
'C'
'a'
'A'
'D'
this is a test
this is a test
this is a test
"r"
"r"	
ab
sd
abcv6efi.him0kl