File tree Expand file tree Collapse file tree
usvm-ts/src/test/kotlin/org/usvm/reachability Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ class BasicConditionsReachabilityTest {
101101 target = target.addChild(TsReachabilityTarget .IntermediatePoint (secondIf))
102102
103103 // return -1
104- val returnStmt = method.cfg.stmts.filterIsInstance<EtsReturnStmt >()[1 ]
104+ val returnStmt = method.cfg.stmts.filterIsInstance<EtsReturnStmt >()[0 ]
105105 target.addChild(TsReachabilityTarget .FinalPoint (returnStmt))
106106
107107 val results = machine.analyze(listOf (method), listOf (initialTarget))
@@ -216,7 +216,7 @@ class BasicConditionsReachabilityTest {
216216 target = target.addChild(TsReachabilityTarget .IntermediatePoint (secondIf))
217217
218218 // return -1
219- val returnStmt = method.cfg.stmts.filterIsInstance<EtsReturnStmt >()[1 ]
219+ val returnStmt = method.cfg.stmts.filterIsInstance<EtsReturnStmt >()[0 ]
220220 target.addChild(TsReachabilityTarget .FinalPoint (returnStmt))
221221
222222 val results = machine.analyze(listOf (method), listOf (initialTarget))
You can’t perform that action at this time.
0 commit comments