Skip to content

Commit ad2f84b

Browse files
committed
If string format is passed then it should format
1 parent 86ce5e7 commit ad2f84b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TestStack.BDDfy/Scanners/StepScanners/Fluent/FluentScanner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private StepTitle CreateTitle(string stepTextTemplate, bool includeInputsInStepT
156156
if (stepTitleAttribute != null)
157157
{
158158
var titleAttribute = ((StepTitleAttribute)stepTitleAttribute);
159-
name = titleAttribute.StepTitle;
159+
name = string.Format(titleAttribute.StepTitle, flatInputArray);
160160
if (titleAttribute.IncludeInputsInStepTitle != null)
161161
includeInputsInStepTitle = titleAttribute.IncludeInputsInStepTitle.Value;
162162
}

0 commit comments

Comments
 (0)