diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-03-19 17:42:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-03-19 17:42:15 +0100 |
commit | c2c355df6f094cdb9e599fd395a78c14486ec697 (patch) | |
tree | 941a535736b145633d565dea15a30cccf3350dfe /src/testdir | |
parent | 71afbfe6cd697de30a9e0d57e5a6434cf4bb0f13 (diff) | |
download | vim-c2c355df6f094cdb9e599fd395a78c14486ec697.zip |
updated for version 7.3.873
Problem: Cannot easily use :s to make title case.
Solution: Have "\L\u" result in title case. (James McCoy)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test79.in | bin | 2575 -> 2663 bytes | |||
-rw-r--r-- | src/testdir/test79.ok | bin | 401 -> 421 bytes | |||
-rw-r--r-- | src/testdir/test80.in | 4 | ||||
-rw-r--r-- | src/testdir/test80.ok | 4 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test79.in b/src/testdir/test79.in Binary files differindex f83b6b6e2..c50b92fa4 100644 --- a/src/testdir/test79.in +++ b/src/testdir/test79.in diff --git a/src/testdir/test79.ok b/src/testdir/test79.ok Binary files differindex 31ad3a41e..bb30d1405 100644 --- a/src/testdir/test79.ok +++ b/src/testdir/test79.ok diff --git a/src/testdir/test80.in b/src/testdir/test80.in index df4afbb1d..7f6ecfccb 100644 --- a/src/testdir/test80.in +++ b/src/testdir/test80.in @@ -35,6 +35,8 @@ STARTTEST :$put =substitute('vVv', 'V', \"\b\", '') :$put =substitute('wWw', 'W', \"\\\", '') :$put =substitute('xXx', 'X', \"\r\", '') +:$put =substitute('Y', 'Y', '\L\uyYy\l\EY', '') +:$put =substitute('Z', 'Z', '\U\lZzZ\u\Ez', '') /^TEST_2 ENDTEST @@ -67,6 +69,8 @@ STARTTEST :$put =substitute('uUu', 'U', \"\n\", '') :$put =substitute('vVv', 'V', \"\b\", '') :$put =substitute('wWw', 'W', \"\\\", '') +:$put =substitute('X', 'X', '\L\uxXx\l\EX', '') +:$put =substitute('Y', 'Y', '\U\lYyY\u\Ey', '') /^TEST_3 ENDTEST diff --git a/src/testdir/test80.ok b/src/testdir/test80.ok index b08d3036f..45b1d1d0f 100644 --- a/src/testdir/test80.ok +++ b/src/testdir/test80.ok @@ -27,6 +27,8 @@ u vv w\w x
x +YyyY +zZZz TEST_2: @@ -55,6 +57,8 @@ u u vv w\w +XxxX +yYYy TEST_3: |