Skip to content
Snippets Groups Projects
Unverified Commit d7e0fd5c authored by Николай Моздоров's avatar Николай Моздоров Committed by GitHub
Browse files

LoopTreeTest fixed

parent 846beb81
Branches
No related merge requests found
......@@ -158,14 +158,18 @@ namespace TestVisitors
{
Parser p = Parse(@"begin var a6;
cycle 2
begin
cycle 1
a6:=2;
cycle 3
cycle 5
begin
cycle 6
a6:=5;
cycle 4
write(5)
end
end
end");
Assert.IsTrue(p.Parse());
var loopCounter = new MaxNestCyclesVisitor();
......@@ -208,4 +212,4 @@ namespace TestVisitors
}
}
}
\ No newline at end of file
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment