@@ -1006,7 +1006,7 @@ func Test_debug_def_function()
10061006 }
10071007 # comment
10081008 def Inner ()
1009- eval 1
1009+ eval 1 + 2
10101010 enddef
10111011 enddef
10121012
@@ -1019,16 +1019,16 @@ func Test_debug_def_function()
10191019 enddef
10201020
10211021 def g: FuncForLoop ()
1022- eval 1
1022+ eval 1 + 2
10231023 for i in [11 , 22 , 33 ]
1024- eval i
1024+ eval i + 2
10251025 endfor
10261026 echo " done"
10271027 enddef
10281028
10291029 def g: FuncWithSplitLine ()
1030- eval 1
1031- | eval 2
1030+ eval 1 + 2
1031+ | eval 2 + 3
10321032 enddef
10331033 END
10341034 call writefile (file , ' Xtest.vim' )
@@ -1080,7 +1080,7 @@ func Test_debug_def_function()
10801080 call RunDbgCmd (buf , ' :breakadd func 2 FuncForLoop' )
10811081 call RunDbgCmd (buf , ' :call FuncForLoop()' , [' function FuncForLoop' , ' line 2: for i in [11, 22, 33]' ])
10821082 call RunDbgCmd (buf , ' echo i' , [' 11' ])
1083- call RunDbgCmd (buf , ' next' , [' function FuncForLoop' , ' line 3: eval i' ])
1083+ call RunDbgCmd (buf , ' next' , [' function FuncForLoop' , ' line 3: eval i + 2 ' ])
10841084 call RunDbgCmd (buf , ' next' , [' function FuncForLoop' , ' line 4: endfor' ])
10851085 call RunDbgCmd (buf , ' next' , [' function FuncForLoop' , ' line 2: for i in [11, 22, 33]' ])
10861086 call RunDbgCmd (buf , ' echo i' , [' 22' ])
@@ -1089,7 +1089,7 @@ func Test_debug_def_function()
10891089 call RunDbgCmd (buf , ' cont' )
10901090
10911091 call RunDbgCmd (buf , ' :breakadd func FuncWithSplitLine' )
1092- call RunDbgCmd (buf , ' :call FuncWithSplitLine()' , [' function FuncWithSplitLine' , ' line 1: eval 1 | eval 2' ])
1092+ call RunDbgCmd (buf , ' :call FuncWithSplitLine()' , [' function FuncWithSplitLine' , ' line 1: eval 1 + 2 | eval 2 + 3 ' ])
10931093
10941094 call RunDbgCmd (buf , ' cont' )
10951095 call StopVimInTerminal (buf )
0 commit comments