]> granicus.if.org Git - vim/commitdiff
patch 8.1.0092: prompt buffer test fails v8.1.0092
authorBram Moolenaar <Bram@vim.org>
Thu, 21 Jun 2018 10:07:04 +0000 (12:07 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 21 Jun 2018 10:07:04 +0000 (12:07 +0200)
Problem:    Prompt buffer test fails.
Solution:   Set 'nomodified' before closing the window. (Ozaki Kiichi,
            closes #3051

src/testdir/test_prompt_buffer.vim
src/version.c

index a6269dec49a9ded6710b31b72510bb81712074a7..1b8a1ec7497c6be468230e61ff3b9bc450ba03f2 100644 (file)
@@ -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',
index 3fcdb73b15a9a06e3539b96af836f0acd3f20eee..80a3c2cbde8098c8d20791998ea556d0df816393 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    92,
 /**/
     91,
 /**/