diff src/testdir/test_vim9_script.vim @ 27541:8af6e7761b0c v8.2.4297

patch 8.2.4297: Vim9: not all code covered by tests Commit: https://github.com/vim/vim/commit/21ebb0899ecf9049c3e1c9cbc2e06fd8e2a99e06 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 4 21:58:58 2022 +0000 patch 8.2.4297: Vim9: not all code covered by tests Problem: Vim9: not all code covered by tests. Solution: Add a couple more tests.
author Bram Moolenaar <Bram@vim.org>
date Fri, 04 Feb 2022 23:00:05 +0100
parents 1aff400b819e
children 55f0ac079829
line wrap: on
line diff
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -1580,6 +1580,14 @@ def Test_if_const_expr()
     burp
   endif
 
+  if 0
+    if 1
+      echo nothing
+    elseif 1
+      echo still nothing
+    endif
+  endif
+
   # expression with line breaks skipped
   if false
       ('aaa'