Skip to content

Commit

Permalink
better test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jan 24, 2024
1 parent 35c9a42 commit 01062a0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ PhLImageListCliCommandTest >> testListImageShouldSucceedOutputInSTON [

self assertSuccess.
images := STON fromString: self outputString.
self assert: images size equals: 2.
self assert: images first name equals: 'myImage1'.
self
assertCollection: (images collect: #name)
hasSameElements: #('myImage1' 'myImage2').

]

Expand Down

0 comments on commit 01062a0

Please sign in to comment.