• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Révision7cb072acc5c01fb46742f889a469e3278e48df2b (tree)
l'heure2020-11-26 01:45:03
AuteurBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Message de Log

patch 8.2.2050: search test contains unneeded sleeps

Commit: https://github.com/vim/vim/commit/6bed0dbc8500be3ea751cc527a6ee89ca073a4d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 25 17:41:20 2020 +0100

patch 8.2.2050: search test contains unneeded sleeps
Problem: Search test contains unneeded sleeps.
Solution: Rename the function, remove sleeps. (Christian Brabandt,
closes #7369)

Change Summary

Modification

diff -r 45defc2a4f64 -r 7cb072acc5c0 src/testdir/test_search.vim
--- a/src/testdir/test_search.vim Wed Nov 25 17:15:04 2020 +0100
+++ b/src/testdir/test_search.vim Wed Nov 25 17:45:03 2020 +0100
@@ -1776,7 +1776,7 @@
17761776 close!
17771777 endfunc
17781778
1779-func Test_zzzz_incsearch_highlighting_newline()
1779+func Test_incsearch_highlighting_newline()
17801780 CheckRunVimInTerminal
17811781 CheckOption incsearch
17821782 CheckScreendump
@@ -1789,20 +1789,16 @@
17891789 [CODE]
17901790 call writefile(commands, 'Xincsearch_nl')
17911791 let buf = RunVimInTerminal('-S Xincsearch_nl', {'rows': 5, 'cols': 10})
1792- " Need to send one key at a time to force a redraw
17931792 call term_sendkeys(buf, '/test')
1794- sleep 100m
17951793 call VerifyScreenDump(buf, 'Test_incsearch_newline1', {})
1794+ " Need to send one key at a time to force a redraw
17961795 call term_sendkeys(buf, '\n')
1797- sleep 100m
17981796 call VerifyScreenDump(buf, 'Test_incsearch_newline2', {})
17991797 call term_sendkeys(buf, 'x')
1800- sleep 100m
18011798 call VerifyScreenDump(buf, 'Test_incsearch_newline3', {})
18021799 call term_sendkeys(buf, 'x')
18031800 call VerifyScreenDump(buf, 'Test_incsearch_newline4', {})
18041801 call term_sendkeys(buf, "\<CR>")
1805- sleep 100m
18061802 call VerifyScreenDump(buf, 'Test_incsearch_newline5', {})
18071803 call StopVimInTerminal(buf)
18081804
diff -r 45defc2a4f64 -r 7cb072acc5c0 src/version.c
--- a/src/version.c Wed Nov 25 17:15:04 2020 +0100
+++ b/src/version.c Wed Nov 25 17:45:03 2020 +0100
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 2050,
755+/**/
754756 2049,
755757 /**/
756758 2048,
Afficher sur ancien navigateur de dépôt.