vim-patch:8.1.0092: prompt buffer test fails
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes vim/vim#3051
71ef1ba5e9
This commit is contained in:
parent
aec3d7915c
commit
3557757a3c
|
@ -15,6 +15,7 @@ describe('prompt buffer', function()
|
|||
source([[
|
||||
func TextEntered(text)
|
||||
if a:text == "exit"
|
||||
set nomodified
|
||||
stopinsert
|
||||
close
|
||||
else
|
||||
|
@ -59,7 +60,7 @@ describe('prompt buffer', function()
|
|||
Command: "hello" |
|
||||
Result: "hello" |
|
||||
% ^ |
|
||||
[Prompt] |
|
||||
[Prompt] [+] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
|
@ -101,7 +102,7 @@ describe('prompt buffer', function()
|
|||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Prompt] |
|
||||
[Prompt] [+] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
|
@ -114,7 +115,7 @@ describe('prompt buffer', function()
|
|||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Prompt] |
|
||||
[Prompt] [+] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
|
@ -127,7 +128,7 @@ describe('prompt buffer', function()
|
|||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Prompt] |
|
||||
[Prompt] [+] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
|
|
Loading…
Reference in New Issue