patch 9.1.0714: tests: GuiEnter_Turkish test may fail

Commit: 
https://github.com/vim/vim/commit/eccc92792ae45fd706b7d8958fd6c23e0e194161
Author: Ken Takata <ken...@csc.jp>
Date:   Tue Sep 3 23:01:55 2024 +0200

    patch 9.1.0714: tests: GuiEnter_Turkish test may fail
    
    Problem:  tests: GuiEnter_Turkish test may fail
    Solution: the message will be translated if the Turkish message file is
              installed. Use gettext() to get the expected message
              (Ken Takata)
    
    closes: #15615
    
    Signed-off-by: Ken Takata <ken...@csc.jp>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index a863a238d..fc6f377cf 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -3707,7 +3707,7 @@ func Test_autocmd_with_block()
       }
   augroup END
 
-  let expected = "
--- Autocommands ---
block_testing  BufRead
    *.xml     {^@            setlocal matchpairs+=<:>^@            /<start^@    
      }"
+  let expected = gettext("
--- Autocommands ---") .. "
block_testing  BufRead
    *.xml     {^@            setlocal matchpairs+=<:>^@            /<start^@    
      }"
   call assert_equal(expected, execute('au BufReadPost *.xml'))
 
   doautocmd CursorHold
@@ -4871,11 +4871,11 @@ func Test_GuiEnter_Turkish_locale()
     let lng = v:lang
     lang tr_TR.UTF-8
     let result = execute(':au GuiEnter')
-    call assert_equal("
--- Autocommands ---", result)
+    call assert_equal(gettext("
--- Autocommands ---"), result)
     let result = execute(':au GUIENTER')
-    call assert_equal("
--- Autocommands ---", result)
+    call assert_equal(gettext("
--- Autocommands ---"), result)
     let result = execute(':au guienter')
-    call assert_equal("
--- Autocommands ---", result)
+    call assert_equal(gettext("
--- Autocommands ---"), result)
     exe ":lang" lng
   catch /E197:/
     " can't use Turkish locale
diff --git a/src/version.c b/src/version.c
index f53da0117..b35a89e2e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    714,
 /**/
     713,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1slare-009l2T-Hg%40256bit.org.

Raspunde prin e-mail lui