diff src/testdir/test_vim9_disassemble.vim @ 23438:4c6ebf531284 v8.2.2262

patch 8.2.2262: Vim9: converting bool to string prefixes v: Commit: https://github.com/vim/vim/commit/a8b8af19e48e1803e20a129e9aebab1aac544956 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 1 15:11:04 2021 +0100 patch 8.2.2262: Vim9: converting bool to string prefixes v: Problem: Vim9: converting bool to string prefixes v:. Solution: Do not use the v: prefix.
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 Jan 2021 15:15:03 +0100
parents 5807e3958e38
children d2b1269c2c68
line wrap: on
line diff
--- a/src/testdir/test_vim9_disassemble.vim
+++ b/src/testdir/test_vim9_disassemble.vim
@@ -182,7 +182,7 @@ def Test_disassemble_push()
   var res = execute('disass s:ScriptFuncPush')
   assert_match('<SNR>\d*_ScriptFuncPush.*' ..
         'localbool = true.*' ..
-        ' PUSH v:true.*' ..
+        ' PUSH true.*' ..
         'localspec = v:none.*' ..
         ' PUSH v:none.*' ..
         'localblob = 0z1234.*' ..
@@ -1461,7 +1461,7 @@ def Test_disassemble_invert_bool()
   var instr = execute('disassemble InvertBool')
   assert_match('InvertBool\_s*' ..
         'var flag = true\_s*' ..
-        '\d PUSH v:true\_s*' ..
+        '\d PUSH true\_s*' ..
         '\d STORE $0\_s*' ..
         'var invert = !flag\_s*' ..
         '\d LOAD $0\_s*' ..