#FEATURE by exept
authorClaus Gittinger <cg@exept.de>
Thu, 31 Oct 2019 08:42:53 +0100
changeset 3801 e45e18e26a7d
parent 3800 fb1763b613bf
child 3802 908abf2676e7
#FEATURE by exept class: ShowMeHowItWorks changed: #findComponent:in:
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