Skip to content

Commit 73957ea

Browse files
committed
Add gherkin doc string support
- string move
1 parent b881514 commit 73957ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cucumber_cpp/library/engine/FeatureFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ namespace cucumber_cpp::library::engine
166166

167167
try
168168
{
169-
scenarioInfo.Children().push_back(featureTreeFactory.CreateStepInfo(stepTypeLut.at(*pickleStep.type), pickleStep.text, scenarioInfo, step.location.line, step.location.column.value_or(0), std::move(table), docString));
169+
scenarioInfo.Children().push_back(featureTreeFactory.CreateStepInfo(stepTypeLut.at(*pickleStep.type), pickleStep.text, scenarioInfo, step.location.line, step.location.column.value_or(0), std::move(table), std::move(docString)));
170170
}
171171
catch (const std::out_of_range&)
172172
{

0 commit comments

Comments
 (0)