Skip to content

Commit 71ef1ba

Browse files
committed
patch 8.1.0092: prompt buffer test fails
Problem: Prompt buffer test fails. Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi, closes #3051
1 parent 4551c0a commit 71ef1ba

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/testdir/test_prompt_buffer.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ func WriteScript(name)
2424
call writefile([
2525
\ 'func TextEntered(text)',
2626
\ ' if a:text == "exit"',
27+
\ ' " Reset &modified to allow the buffer to be closed.',
28+
\ ' set nomodified',
2729
\ ' stopinsert',
2830
\ ' close',
2931
\ ' else',

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
92,
764766
/**/
765767
91,
766768
/**/

0 commit comments

Comments
 (0)