0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-12-10 19:03:51 +00:00
parent 7ce7daf6cd
commit 3ea8a1b129
2 changed files with 3 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ def Test_class_member_initializer()
var instr = execute('disassemble TextPosition.new') var instr = execute('disassemble TextPosition.new')
assert_match('new\_s*' .. assert_match('new\_s*' ..
'0 NEW TextPosition size 72\_s*' .. '0 NEW TextPosition size \d\+\_s*' ..
'\d PUSHNR 1\_s*' .. '\d PUSHNR 1\_s*' ..
'\d STORE_THIS 0\_s*' .. '\d STORE_THIS 0\_s*' ..
'\d PUSHNR 1\_s*' .. '\d PUSHNR 1\_s*' ..

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1046,
/**/ /**/
1045, 1045,
/**/ /**/