# HG changeset patch # User Claus Gittinger # Date 1572507773 -3600 # Node ID e45e18e26a7d3370eaa501b35fdeee53e6cc7205 # Parent fb1763b613bf786d9eb1014b793870426fbd75ce #FEATURE by exept class: ShowMeHowItWorks changed: #findComponent:in: diff -r fb1763b613bf -r e45e18e26a7d ShowMeHowItWorks.st --- a/ShowMeHowItWorks.st Thu Oct 31 02:29:24 2019 +0100 +++ b/ShowMeHowItWorks.st Thu Oct 31 08:42:53 2019 +0100 @@ -1509,7 +1509,7 @@ ]. foundByLabel notEmpty ifTrue:[ checkIfAllMenuItemsDoTheSame value:foundByLabel. - self assert:(foundByLabel size == 1) message:'multiple components found by label'. + self assert:(foundByLabel size == 1) message:('multiple components found by label: %1' bindWith:componentNameOrPath). ^ foundByLabel first. ]. ^ component