Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Oct 14, 2024
1 parent 3be53e4 commit d660c94
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Spec2-Code-Tests/SpCodePresenterTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,13 @@ SpCodePresenterTest >> testContextKeyBindings [
| contextKeyBindings |

contextKeyBindings := presenter contextKeyBindings.
self assert: contextKeyBindings isNotNil.
self assert: (contextKeyBindings isKindOf: KMCategory).
self assert: contextKeyBindings isNil.

presenter bindKeyCombination: $x asKeyCombination toAction: [ "none" ].

contextKeyBindings := presenter contextKeyBindings.
self deny: contextKeyBindings isNil.
self assert: (contextKeyBindings isKindOf: KMCategory)
]

{ #category : 'tests' }
Expand Down

0 comments on commit d660c94

Please sign in to comment.