mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
19 lines
No EOL
422 B
Text
19 lines
No EOL
422 B
Text
# This tests that loop over an array correctly steps over the array accessor
|
|
|
|
ShowFile("src/bugs/Bug002.bf")
|
|
GotoText("//Bug002_DoTest")
|
|
ToggleBreakpoint()
|
|
RunWithCompiling()
|
|
StepInto()
|
|
StepOver()
|
|
AssertEvalEquals("val, na", "\"aaa\"")
|
|
StepOver()
|
|
StepOver()
|
|
AssertEvalEquals("val, na", "\"bbb\"")
|
|
StepOver()
|
|
StepOver()
|
|
AssertEvalEquals("val, na", "\"ccc\"")
|
|
StepOver()
|
|
StepOver()
|
|
StepOver()
|
|
AssertEvalEquals("val2", "999") |