[refactoring] update ast structure of "For" node
This commit is contained in:
@@ -6141,7 +6141,7 @@ func TestStmtFor_Alt(t *testing.T) {
|
||||
},
|
||||
},
|
||||
Stmts: []ast.Vertex{
|
||||
&ast.StmtAltFor{
|
||||
&ast.StmtFor{
|
||||
Node: ast.Node{
|
||||
Position: &position.Position{
|
||||
StartLine: 1,
|
||||
@@ -6150,6 +6150,7 @@ func TestStmtFor_Alt(t *testing.T) {
|
||||
EndPos: 33,
|
||||
},
|
||||
},
|
||||
Alt: true,
|
||||
Cond: []ast.Vertex{
|
||||
&ast.ExprBinarySmaller{
|
||||
Node: ast.Node{
|
||||
|
||||
Reference in New Issue
Block a user