mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +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([[
|
||||
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 |
|
||||
~ |
|
||||
~ |
|
||||
|
||||
Reference in New Issue
Block a user