diff src/testdir/test_vim9_script.vim @ 19728:41a1ea967a97 v8.2.0420

patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C Commit: https://github.com/vim/vim/commit/f1ec378b014efb9897422c40369a6462163a512a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 20 19:37:47 2020 +0100 patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C Problem: Vim9: cannot interrupt a loop with CTRL-C. Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
author Bram Moolenaar <Bram@vim.org>
date Fri, 20 Mar 2020 19:45:03 +0100
parents ad37a198a708
children fe8ba2f82f59
line wrap: on
line diff
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -942,15 +942,15 @@ def Test_while_loop()
   assert_equal('1_3_', result)
 enddef
 
-def Test_interrupt_loop()
-  let x = 0
-  while 1
-    x += 1
-    if x == 100
-      feedkeys("\<C-C>", 'L')
-    endif
-  endwhile
-enddef
+" def Test_interrupt_loop()
+"   let x = 0
+"   while 1
+"     x += 1
+"     if x == 100
+"       feedkeys("\<C-C>", 'L')
+"     endif
+"   endwhile
+" enddef
 
 def Test_substitute_cmd()
   new