Table of Contents

Method EscapeMultiLineIndent

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

EscapeMultiLineIndent(string?, string)

Escapes multi-line text for display purposes, indenting on newlines.

protected virtual string EscapeMultiLineIndent(string? text, string indent)

Parameters

text string

The text to be escaped

indent string

The indent to use for multiple line text

Returns

string

The escaped text