We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a1361 commit 8bc8f4aCopy full SHA for 8bc8f4a
1 file changed
src/testdir/test_gui.vim
@@ -1608,7 +1608,12 @@ func Test_gui_dialog_file()
1608
execute prefix .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines'
1609
1610
call WaitForAssert({-> assert_true(filereadable('Xdialog'))})
1611
- call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>'))
+ if has('gui_macvim')
1612
+ call assert_match('Do you want to save the changes you made in the document "Xfile"?: ' ..
1613
+ \ 'Your changes will be lost if you don''t save them.', readfile('Xdialog')->join('<NL>'))
1614
+ else
1615
+ call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>'))
1616
+ endif
1617
1618
call delete('Xdialog')
1619
call delete('Xfile')
0 commit comments