diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-21 12:07:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-21 12:07:04 +0200 |
commit | 71ef1ba5e996f34d3e0acbe1d89c4c6bfa5e98ba (patch) | |
tree | a8974af28b190490a3420216ff5b86da7a92df67 /src/testdir | |
parent | 4551c0a9fcdbdef52836d4852686d54b5e47fdaf (diff) | |
download | vim-git-71ef1ba5e996f34d3e0acbe1d89c4c6bfa5e98ba.tar.gz |
patch 8.1.0092: prompt buffer test failsv8.1.0092
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes #3051
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_prompt_buffer.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_prompt_buffer.vim b/src/testdir/test_prompt_buffer.vim index a6269dec4..1b8a1ec74 100644 --- a/src/testdir/test_prompt_buffer.vim +++ b/src/testdir/test_prompt_buffer.vim @@ -24,6 +24,8 @@ func WriteScript(name) call writefile([ \ 'func TextEntered(text)', \ ' if a:text == "exit"', + \ ' " Reset &modified to allow the buffer to be closed.', + \ ' set nomodified', \ ' stopinsert', \ ' close', \ ' else', |