pub fn compare_doc_string(
returned: Option<&Value>,
content: &str,
span: Span,
) -> Result<Option<DocStringDiff>, StepError>Expand description
Compares a doc-string step’s return against the fence body (exact equality,
trailing newline included). None → no check. A non-string return →
StepError::ReturnShape.