Hi Bram and list,
 

> 2019-9-1(Sun) 21:46:27 UTC+9 Bram Moolenaar:
> Patch 8.1.1955 
> Problem:    Tests contain typos. 
> Solution:   Correct the typos. (Dominique Pelle) 
> Files:            src/testdir/popupbounce.vim, src/testdir/runtest.vim, 
>             src/testdir/screendump.vim, src/testdir/test49.vim, 
>             src/testdir/test_autocmd.vim, src/testdir/test_cindent.vim, 
>             src/testdir/test_const.vim, src/testdir/test_popupwin.vim, 
>             src/testdir/test_quickfix.vim, src/testdir/test_search.vim, 
>             src/testdir/test_tabpage.vim, src/testdir/test_tcl.vim 
>
>
> [...]
>
> *** ../vim-8.1.1954/src/testdir/test_popupwin.vim        2019-08-30 
> 22:07:55.950547106 +0200 
> --- src/testdir/test_popupwin.vim        2019-09-01 14:36:29.848231705 
> +0200 
> *************** 
> *** 1857,1863 **** 
>     let winid = popup_create('something', #{filter: 
> function('MyPopupFilter', [{}])}) 
>     call test_garbagecollect_now() 
>     redraw 
> !   " Must not crach caused by invalid memory access 
>     call feedkeys('j', 'xt') 
>     call assert_true(v:true) 
>   
> --- 1857,1863 ---- 
>     let winid = popup_create('something', #{filter: 
> function('MyPopupFilter', [{}])}) 
>     call test_garbagecollect_now() 
>     redraw 
> !   " Must not crash caused by invalid memory access 
>     call feedkeys('j', 'xt') 
>     call assert_true(v:true) 
>   
>
> [...]
>

 I found a ditto typo.
Patch attached.

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/a1f20756-2139-456a-b892-004dd1737c36%40googlegroups.com.
diff --git a/src/testdir/test_listener.vim b/src/testdir/test_listener.vim
index 3aadeaa96..47c1e209c 100644
--- a/src/testdir/test_listener.vim
+++ b/src/testdir/test_listener.vim
@@ -234,7 +234,7 @@ func Test_listener_garbage_collect()
   new
   let id = listener_add(function('MyListener', [{}]), bufnr(''))
   call test_garbagecollect_now()
-  " must not crach caused by invalid memory access
+  " must not crash caused by invalid memory access
   normal ia
   call assert_true(v:true)
 

Raspunde prin e-mail lui