Skip to content

Commit

Permalink
fixing undeclared variable and deleting assertion on a debug command …
Browse files Browse the repository at this point in the history
…that has been deleted
  • Loading branch information
adri09070 committed Oct 20, 2023
1 parent db28d7b commit fc7be10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 8 additions & 3 deletions src/NewTools-Debugger-Tests/StDebuggerActionModelTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -809,10 +809,15 @@ StDebuggerActionModelTest >> testIsInterruptedContextSubclassResponsibilityExcep

{ #category : 'tests - predicates' }
StDebuggerActionModelTest >> testIsInterruptedContextSubclassResponsibilityExceptionWithSteps [
self changeSession: StTestDebuggerProvider new debuggerWithMissingSubclassResponsibilityContextWithSteps session.
self changeSession: dummyActionModel session.

| dummyActionModel |
dummyActionModel := StTestDebuggerProvider new
debuggerWithMissingSubclassResponsibilityContextWithSteps
debuggerActionModel.
self changeSession: dummyActionModel session.
dummyActionModel clear.
self assert: debugActionModel isInterruptedContextSubclassResponsibilityException
self assert:
debugActionModel isInterruptedContextSubclassResponsibilityException
]

{ #category : 'tests - actions' }
Expand Down
2 changes: 0 additions & 2 deletions src/NewTools-Debugger-Tests/StDebuggerCommandTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ StDebuggerCommandTest >> testCommandsInMissingSubclassResponsibilityContextWithS
(StFileOutMethodCommand forContext: debugger) canBeExecuted.
self assert:
(StPeelToFirstCommand forContext: debugger) canBeExecuted.
self assert:
(StShowFullStackCommand forContext: debugger) canBeExecuted.
self assert: (StWhereIsCommand forContext: debugger) canBeExecuted ]
ensure: [ debugger ifNotNil: [ debugger clear ] ]
]
Expand Down

0 comments on commit fc7be10

Please sign in to comment.