mirror of
https://github.com/neovim/neovim.git
synced 2025-12-20 13:25:34 +00:00
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:
@@ -15,6 +15,7 @@ describe('prompt buffer', function()
|
|||||||
source([[
|
source([[
|
||||||
func TextEntered(text)
|
func TextEntered(text)
|
||||||
if a:text == "exit"
|
if a:text == "exit"
|
||||||
|
set nomodified
|
||||||
stopinsert
|
stopinsert
|
||||||
close
|
close
|
||||||
else
|
else
|
||||||
@@ -59,7 +60,7 @@ describe('prompt buffer', function()
|
|||||||
Command: "hello" |
|
Command: "hello" |
|
||||||
Result: "hello" |
|
Result: "hello" |
|
||||||
% ^ |
|
% ^ |
|
||||||
[Prompt] |
|
[Prompt] [+] |
|
||||||
other buffer |
|
other buffer |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
@@ -101,7 +102,7 @@ describe('prompt buffer', function()
|
|||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
[Prompt] |
|
[Prompt] [+] |
|
||||||
other buffer |
|
other buffer |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
@@ -114,7 +115,7 @@ describe('prompt buffer', function()
|
|||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
[Prompt] |
|
[Prompt] [+] |
|
||||||
other buffer |
|
other buffer |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
@@ -127,7 +128,7 @@ describe('prompt buffer', function()
|
|||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
[Prompt] |
|
[Prompt] [+] |
|
||||||
other buffer |
|
other buffer |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
|
|||||||
Reference in New Issue
Block a user