]> granicus.if.org Git - vim/commitdiff
patch 8.2.3558: Vim9: asserting the wrong variable v8.2.3558
authorBram Moolenaar <Bram@vim.org>
Sat, 23 Oct 2021 09:25:21 +0000 (10:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 23 Oct 2021 09:25:21 +0000 (10:25 +0100)
Problem:    Vim9: asserting the wrong variable.
Solution:   Don't use Foo, use Goo.

src/testdir/test_vim9_script.vim
src/version.c

index ae58a0bfe5c1b2ce039bf418ccce03c6cccdae05..7e174dfb2c2b795e9e6d9d476575ccb7bf592193 100644 (file)
@@ -1495,7 +1495,7 @@ def Test_import_funcref()
 
       def DoTest()
         const Goo = G()
-        assert_equal(42, Foo)
+        assert_equal(42, Goo)
       enddef
       DoTest()
   END
index ea396cd5784d8dd27e325bba220942fdc296f4d7..53ceef0bf6f424c02d19dcbea57c20ad5d5a807d 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3558,
 /**/
     3557,
 /**/