Skip to content

Commit

Permalink
fixed anothe batch of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Feb 9, 2021
1 parent 30f799e commit 97c8504
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Spec2-Core/String.extension.st
Expand Up @@ -17,12 +17,12 @@ String >> localizedForPresenter: aPresenter [
]

{ #category : #'*Spec2-Core' }
String >> withAccentuatedCharacter: aCharacter [
String >> withAccentuatedCharacter: aKey [

| text index |
text := self asText.
aCharacter ifNil: [ ^ text ].
index := self asLowercase indexOf: aCharacter asLowercase.
aKey ifNil: [ ^ text ].
index := self asLowercase indexOf: aKey name asLowercase.
index isZero
ifTrue: [ ^ text ].

Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Tests/SpAbstractTextPresenterTest.class.st
Expand Up @@ -82,7 +82,7 @@ SpAbstractTextPresenterTest >> testWhenSubmitDo [
self openInstance.

self textInputAdapter
keyPressed: $s asciiValue
keyDown: $s asciiValue
shift: false
meta: true
control: false
Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Tests/SpGridLayoutTest.class.st
Expand Up @@ -11,7 +11,7 @@ SpGridLayoutTest >> testInitialStatus [
layout := SpGridLayout new.

self assert: layout isColumnHomogeneous.
self assert: layout isRowHomogeneous.
self deny: layout isRowHomogeneous.
self assert: layout columnSpacing equals: 10.
self assert: layout rowSpacing equals: 5.
self assert: layout borderWidth equals: 20
Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Tests/SpTextPresenterTest.class.st
Expand Up @@ -16,7 +16,7 @@ SpTextPresenterTest >> testEditable [
self openInstance.

presenter adapter
keyPressed: $x asciiValue
keyDown: $x asciiValue
shift: false
meta: false
control: false
Expand Down

0 comments on commit 97c8504

Please sign in to comment.