aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/prompt_buffer_spec.lua
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-05-25 13:15:01 +0900
committererw7 <erw7.github@gmail.com>2020-02-12 16:03:54 +0900
commit3557757a3c410bb5c6a9066b342b4f42b75ec5ed (patch)
treeedc0c83799b1a077fa190d1ffb6dc82cd710e910 /test/functional/legacy/prompt_buffer_spec.lua
parentaec3d7915c55fc0b7dc73f6186cf0ae45d416d33 (diff)
downloadrneovim-3557757a3c410bb5c6a9066b342b4f42b75ec5ed.tar.gz
rneovim-3557757a3c410bb5c6a9066b342b4f42b75ec5ed.tar.bz2
rneovim-3557757a3c410bb5c6a9066b342b4f42b75ec5ed.zip
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 https://github.com/vim/vim/commit/71ef1ba5e996f34d3e0acbe1d89c4c6bfa5e98ba
Diffstat (limited to 'test/functional/legacy/prompt_buffer_spec.lua')
-rw-r--r--test/functional/legacy/prompt_buffer_spec.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/legacy/prompt_buffer_spec.lua b/test/functional/legacy/prompt_buffer_spec.lua
index d5b315a0c7..513be807be 100644
--- a/test/functional/legacy/prompt_buffer_spec.lua
+++ b/test/functional/legacy/prompt_buffer_spec.lua
@@ -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 |
~ |
~ |