Skip to content
Snippets Groups Projects
Commit b0e7becb authored by aimof's avatar aimof
Browse files

Add tests to #638 array parsing issue

cases array length is 0 or 1.
parent f9b8b95e
No related branches found
No related tags found
1 merge request!678Add tests to #638 array parsing issue
# Standard Arrays # Standard Arrays
let array = []
echo @array
let array = [1]
for i in @array
echo $i
end
let array = [1 [2 3] 4 [5 6]] let array = [1 [2 3] 4 [5 6]]
for i in @array for i in @array
echo $i echo $i
......
1
1 1
2 2
3 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment