Skip to content

Commit 1269b4f

Browse files
author
Hernán Morales Durand
committed
Fix another failing test: testIsExecutionFinished. Same way to previous fix, check DebuggedExecutionIsFinished is raised
1 parent 70ce297 commit 1269b4f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Sindarin-Tests/SindarinDebuggerTest.class.st

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,10 @@ SindarinDebuggerTest >> testIsExecutionFinished [
506506
scdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
507507
self deny: scdbg isExecutionFinished.
508508

509-
[ scdbg isExecutionFinished ] whileFalse: [ scdbg stepOver ].
510-
509+
self
510+
should: [ [ scdbg isExecutionFinished ] whileFalse: [ scdbg stepOver ] ]
511+
raise: DebuggedExecutionIsFinished.
512+
511513
self assert: scdbg currentProcess isTerminated
512514
]
513515

0 commit comments

Comments
 (0)