changeset 31426:92afb904fbee v9.0.1046

patch 9.0.1046: class method disassemble test fails on MS-Windows Commit: https://github.com/vim/vim/commit/3ea8a1b1296af5b0c6a163ab995aa16d49ac5f10 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 10 19:03:51 2022 +0000 patch 9.0.1046: class method disassemble test fails on MS-Windows Problem: Class method disassemble test fails on MS-Windows. Solution: Do not match with a specific size.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Dec 2022 20:15:02 +0100
parents f283f0df8f36
children 7cc66fe3e8a3
files src/testdir/test_vim9_class.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vim9_class.vim
+++ b/src/testdir/test_vim9_class.vim
@@ -166,7 +166,7 @@ def Test_class_member_initializer()
 
       var instr = execute('disassemble TextPosition.new')
       assert_match('new\_s*' ..
-            '0 NEW TextPosition size 72\_s*' ..
+            '0 NEW TextPosition size \d\+\_s*' ..
             '\d PUSHNR 1\_s*' ..
             '\d STORE_THIS 0\_s*' ..
             '\d PUSHNR 1\_s*' ..
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1046,
+/**/
     1045,
 /**/
     1044,