vim-patch:7.4.2051

Problem:    No proper testing of trunc_string().
Solution:   Add a unittest for message.c.

502ae4ba63
This commit is contained in:
James McCoy
2017-03-06 10:44:07 -05:00
parent 483e8257e5
commit 7217360e34
4 changed files with 60 additions and 11 deletions

View File

@@ -482,7 +482,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
else
screen:expect([[
@@ -495,7 +495,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
end
end
@@ -534,7 +534,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
else
screen:expect([[
@@ -547,7 +547,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
end
@@ -574,7 +574,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
else
screen:expect([[
@@ -587,7 +587,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
end
screen:detach()
@@ -616,7 +616,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
else
screen:expect([[
@@ -629,7 +629,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
end
@@ -653,7 +653,7 @@ describe(":substitute, 'inccommand' preserves undo", function()
{15:~ }|
{15:~ }|
{15:~ }|
Already...st change |
Already ...t change |
]])
end
screen:detach()