patch 8.2.0640: Vim9: expanding does not work
Problem: Vim9: expanding does not work.
Solution: Find wildcards in not compiled commands. Reorganize test files.
diff --git a/src/testdir/test_vim9_disassemble.vim b/src/testdir/test_vim9_disassemble.vim
index 89ca66f..4e2caf0 100644
--- a/src/testdir/test_vim9_disassemble.vim
+++ b/src/testdir/test_vim9_disassemble.vim
@@ -53,6 +53,32 @@
res)
enddef
+def s:EditExpand()
+ let filename = "file"
+ let filenr = 123
+ edit the`=filename``=filenr`.txt
+enddef
+
+def Test_disassemble_exec_expr()
+ let res = execute('disass s:EditExpand')
+ assert_match('<SNR>\d*_EditExpand.*' ..
+ ' let filename = "file".*' ..
+ '\d PUSHS "file".*' ..
+ '\d STORE $0.*' ..
+ ' let filenr = 123.*' ..
+ '\d STORE 123 in $1.*' ..
+ ' edit the`=filename``=filenr`.txt.*' ..
+ '\d PUSHS "edit the".*' ..
+ '\d LOAD $0.*' ..
+ '\d LOAD $1.*' ..
+ '\d 2STRING stack\[-1\].*' ..
+ '\d PUSHS ".txt".*' ..
+ '\d EXECCONCAT 4.*' ..
+ '\d PUSHNR 0.*' ..
+ '\d RETURN',
+ res)
+enddef
+
def s:ScriptFuncPush()
let localbool = true
let localspec = v:none