Skip to content

Commit

Permalink
Use stricter assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
koendehondt committed Jan 26, 2024
1 parent fc3c757 commit b7a44d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ SpMorphicBoxLayoutTest >> testBeHomogeneousWorksWhenContractingWindow [
self assert: presenterWidth equals: (width1 + width2 + width3).
self assert: width1 equals: width2.
self assert: width2 equals: width3.
self assert: windowWidth >= presenterWidth
self assert: windowWidth equals: presenterWidth + 10 "5 + 5 of the window borders"
]

{ #category : #tests }
Expand Down Expand Up @@ -169,7 +169,7 @@ SpMorphicBoxLayoutTest >> testBeHomogeneousWorksWhenExpandingWindow [
self assert: presenterWidth equals: (width1 + width2 + width3).
self assert: width1 equals: width2.
self assert: width2 equals: width3.
self assert: windowWidth >= presenterWidth
self assert: windowWidth equals: presenterWidth + 10 "5 + 5 of the window borders"
]

{ #category : #tests }
Expand Down

0 comments on commit b7a44d5

Please sign in to comment.