summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Takata <kentkt@csc.jp>2024-09-03 23:01:55 +0200
committerChristian Brabandt <cb@256bit.org>2024-09-03 23:01:55 +0200
commiteccc92792ae45fd706b7d8958fd6c23e0e194161 (patch)
tree94923378761f98a6e94a89012d67e53bb662b8ea
parent2432b4a75321a1a9ac0f9b326c7e46d38bdb71bb (diff)
patch 9.1.0714: tests: GuiEnter_Turkish test may failv9.1.0714
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 <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--src/testdir/test_autocmd.vim8
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 4 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index a863a238da..fc6f377cf5 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 = "\n--- Autocommands ---\nblock_testing BufRead\n *.xml {^@ setlocal matchpairs+=<:>^@ /<start^@ }"
+ let expected = gettext("\n--- Autocommands ---") .. "\nblock_testing BufRead\n *.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("\n--- Autocommands ---", result)
+ call assert_equal(gettext("\n--- Autocommands ---"), result)
let result = execute(':au GUIENTER')
- call assert_equal("\n--- Autocommands ---", result)
+ call assert_equal(gettext("\n--- Autocommands ---"), result)
let result = execute(':au guienter')
- call assert_equal("\n--- Autocommands ---", result)
+ call assert_equal(gettext("\n--- Autocommands ---"), result)
exe ":lang" lng
catch /E197:/
" can't use Turkish locale
diff --git a/src/version.c b/src/version.c
index f53da01170..b35a89e2e3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 714,
+/**/
713,
/**/
712,