From 3ea8a1b1296af5b0c6a163ab995aa16d49ac5f10 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 10 Dec 2022 19:03:51 +0000 Subject: 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. --- src/testdir/test_vim9_class.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_vim9_class.vim b/src/testdir/test_vim9_class.vim index b18572d4e..d444af0f3 100644 --- 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*' .. diff --git a/src/version.c b/src/version.c index fa77295ec..b1e39c038 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1046, /**/ 1045, /**/ -- cgit v1.2.1