]> granicus.if.org Git - vim/commitdiff
patch 8.2.4020: debugger test fails v8.2.4020
authorBram Moolenaar <Bram@vim.org>
Thu, 6 Jan 2022 21:31:19 +0000 (21:31 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 6 Jan 2022 21:31:19 +0000 (21:31 +0000)
Problem:    Debugger test fails.
Solution:   Fix import statement.

src/testdir/test_debugger.vim
src/version.c

index 659c7a81d552e36990791e0090e07ce7a03062be..0c4bc870d55c36c82db21e8f0595f20c27dfd32e 100644 (file)
@@ -891,7 +891,7 @@ func Test_Backtrace_DefFunction()
   CheckCWD
   let file1 =<< trim END
     vim9script
-    import File2Function from './Xtest2.vim'
+    import './Xtest2.vim' as imp
 
     def SourceAnotherFile()
       source Xtest2.vim
@@ -899,7 +899,7 @@ func Test_Backtrace_DefFunction()
 
     def CallAFunction()
       SourceAnotherFile()
-      File2Function()
+      imp.File2Function()
     enddef
 
     def g:GlobalFunction()
index ddc986bbba36942eb5502461105c93db803653f4..d3732cb9c5c858fcbdb156ac6737832c0b38cb77 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4020,
 /**/
     4019,
 /**/